<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title>消费循环系统API文档</title>
</head>
<style>
    * {
        margin: 0;
        /*padding: 0;*/
    }
    ol{
        padding: 0;
    }
    a {
        color: #4080D0;
        text-decoration: none;
    }

    body, html {
        width: 100%;
        height: 100%;
        color: #000000;
        font-family: -apple-system, BlinkMacSystemFont, 'Segoe WPC', 'Segoe UI', 'HelveticaNeue-Light', 'Ubuntu', 'Droid Sans', sans-serif;
        font-size: 14px;
        line-height: 1.6;
    }

    .mark {
        background: #fff;
        width: 90%;
        margin-left: 5%;
    }

    .bigTitle {
        margin: 50px 0 10px 0;
        font-size: 24px;
        line-height: 32px;
    }

    .api {
        font-size: 14px;
    }

    .api-p {
        margin: 0 0 8px;
        line-height: 26px;
    }

    .titleH2 {
        margin-top: 40px;
        font-size: 24px;
        line-height: 32px;
    }

    .titleH3 {
        margin-top: 32px;
        font-size: 16px;
        line-height: 24px;
    }

    table {
        font-size: 12px;
        border-collapse: collapse;
        border-spacing: 0;
        empty-cells: show;
        vertical-align: top;
        width: 100%;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        margin: 12px 0 24px;
    }

    table tr {
        /*line-height: 26px;*/
        text-align: left;
    }

    table tr th {
        background: #f7f7f7;
        padding: 4px 12px;
        font-size: 12px;
        text-align: left;
        word-break: break-all;
        word-wrap: break-word;
        min-width: 100px;
    }

    table tr td {
        border: 1px solid #F0F3F6;
        padding: 4px 12px;
    }

    .one {
        width: 160px
    }

    .two {
        width: 100px
    }

    .describe {
        width: 280px
    }

    .code .pre {
        margin: 0;
        max-height: 720px;
        word-break: break-all;
        overflow: auto;
        display: block;
        width: 100%;
        background: #F7F7F7;
        border-radius: 4px;
        border: 1px solid #EEE;
        font-size: 12px;
    }

    ul.contains-task-list {
        padding-left: 0;
        display: block;
    }

    ul ul.contains-task-list {
        padding-left: 40px;
    }

    .task-list-item {
        list-style-type: none;
    }

    .task-list-item-checkbox {
        vertical-align: middle;
    }
    .firstUl{
        padding-top: 50px;
        padding-left: 0;
        padding-bottom: 50px;
        list-style-type: none;
    }
</style>
<body>


<div class="mark">
    <h1 class="bigTitle" style="text-align: center;">消费循环系统API文档</h1>
    <ul class="firstUl">
        <li>
            <ul>
                <li><a href="#Ethernet">接入方式</a>
                    <ul>
                        <li><a href="#common-parameter">公共参数</a></li>
                        <li><a href="#signature-mechanism">签名机制</a></li>
                        <li><a href="#signature-sample">签名示例</a></li>
                    </ul>
                </li>
                <li><a href="#common-request-parameter">公共请求参数</a></li>
                <li><a href="#common-response-parameter">公共响应参数</a></li>
                <li><a href="#orders-return-white">商户创建返还消费积分订单</a></li>
                <li><a href="#order-return-white-fruit">商户查询返还消费积分订单结果</a></li>
                <li><a href="#revoke-white-score-order">会员积分奖励撤销</a></li>
                <li><a href="#increase-white-score">会员增/减积分</a></li>
                <li><a href="#member-account-balance">查询兑出到商城账户余额前消费循环系统内会员账户余额</a></li>
                <li><a href="#anyc-order-return-white-fruit">消费循环系统异步通知商户返还消费积分订单结果</a></li>
                <li><a href="#order-come-white-fruit">消费循环系统查询商户返还消费积分订单结果</a></li>
                <li><a href="#select-member-account-total">查询会员账户汇总信息</a></li>
                <li><a href="#select-trade-business-types">查询交易记录业务类型列表</a></li>
                <li><a href="#select-trade-records">查询交易记录明细</a></li>
                <li><a href="#select-trade-record-detail">查询交易记录详情</a></li>
                <li><a href="#select-score-white-deal-types">查询消费积分交易类型列表</a></li>
                <li><a href="#select-consume-score-balance">查询消费积分余额</a></li>
                <li><a href="#select-consume-score-detail">查询消费积分收支明细</a></li>
                <li><a href="#select-consume-score-record-detail">查询消费积分收支记录详情</a></li>
                <li><a href="#select-score-red-deal-types">查询风积分交易类型列表</a></li>
                <li><a href="#select-red-score-balance">查询风积分余额</a></li>
                <li><a href="#select-red-score-detail">查询风积分收支明细</a></li>
                <li><a href="#select-red-score-record-detail">查询风积分收支记录详情</a></li>
                <li><a href="#red-score-consume-balance">风积分兑换消费余额</a></li>
                <li><a href="#select-account-balance-deal-types">查询消费余额交易类型列表</a></li>
                <li><a href="#select-consume-balance">查询消费余额</a></li>
                <li><a href="#select-consume-balance-detail">查询消费余额收支明细</a></li>
                <li><a href="#select-consume-balance-record-detail">查询消费余额收支记录详情</a></li>
                <li><a href="#account-balance-exchange">消费余额兑出到商城余额</a></li>
                <li><a href="#account-balance-pay">消费余额支付</a></li>
                <li><a href="#account-balance-pay-record">查询消费余额支付记录</a></li>
                <li><a href="#account-balance-pay-notify">消费余额支付通知</a></li>
                <li><a href="#account-balance-refund">消费余额退款</a></li>
                <li><a href="#account-balance-refund-record">查询消费余额退款记录</a></li>
                <li><a href="#banks">获取银行列表</a></li>
                <li><a href="#member-bank-card">会员消费余额预提现</a></li>
                <li><a href="#account-balance-cash-out">会员消费余额提现</a></li>
                <li><a href="#exchange-parameters">获取风积分兑出参数</a></li>
                <li><a href="#balance-exchange-parameters">获取消费余额兑出参数</a></li>
                <!--<li><a href="#agent-trade-order">创建运营中心交易返还消费积分订单</a></li>-->
            </ul>
        </li>
    </ul>
    <div class="api">
        <p class="api-p" id="Ethernet">
            接入方式：客户端使用http协议post请求，参照本手册中所约定的方式，调用各业务API进行业务处理。使用任意业务API都必须按照下文所描述的方式，发送公共参数，并对所有参数进行签名，以便于服务器端检
            查请求的有效性和一致性。注：接口使用过程所有涉及文本编码选择时，均使用UTF-8编码，后文不作赘述。</p>
        <p class="api-p" id="common-parameter">
        <ol>公共参数
        </ol>
        公共参数是指： 每个接口 都需要使用到的请求参数。
        </p>
        <p class="api-p" id="signature-mechanism">
        <ol>签名机制
        </ol>
        <ol>1. 将包括公共参数在内（sign除外）的所有请求参数，根据参数名排序，排序过程大小写敏感。
        </ol>
        <ol>2. 将所有参数的值进行 UrlEncode 编码。
        </ol>
        <ol>3.
            将处理后的参数列表拼接成如下结构的字符串：name1=value1&name2=value2&name3=value3......
        </ol>
        <ol>4. 以商户生成的秘钥对中的私钥密钥，使用SHA256WithRSA签名算法方式将上一步构造的字符串签名。
        </ol>
        <ol>5. 将上一步产生的加密结果转换为 Base64 形态。最后生成的 Base64 形态的字符串即是签名结果。
        </ol>
        </p>
        <p class="api-p" id="signature-sample">
        <ol>签名示例(JAVA)
        </ol>
        <div class="code">
				<pre class="pre">
				<code>
	//构造未签名的字符串。参数params中不包括"sign"
	public static String getSignContent(Map&lt;String , String&gt; params) {
	        StringBuffer content = new StringBuffer();
	        List&lt;String&gt; keys = new ArrayList&lt;String&gt;(sortedParams.keySet());
	        Collections.sort(keys);
	        int index = 0;
	        for (int i = 0; i < keys.size(); i++) {
	            String key = keys.get(i);
	            String value = sortedParams.get(key);
	            if (StringUtils.areNotEmpty(key, value)) {
	                content.append((index == 0 ? "" : "&") + key + "=" + value);
	                index++;
	            }
	        }

	        return content.toString();
	 }
    	//生成签名
    	public static String rsa256Sign(String content, String privateKey,String charset) {
	        PrivateKey priKey = getPrivateKeyFromPKCS8(AlipayConstants.SIGN_TYPE_RSA,new ByteArrayInputStream(privateKey.getBytes()));
	            java.security.Signature signature = java.security.Signature.getInstance(AlipayConstants.SIGN_SHA256RSA_ALGORITHMS);
	            signature.initSign(priKey);
	            if (StringUtils.isEmpty(charset)) {
	                signature.update(content.getBytes());
	            } else {
	                signature.update(content.getBytes(charset));
	            }
	            byte[] signed = signature.sign();

	            return new String(Base64.encodeBase64(signed));
	}
				
					</code>
				</pre>
        </div>
        </p>
    </div>
    <h3 class="titleH3" id="common-request-parameter">公共请求参数</h3>
    <table>
        <tbody>
        <tr>
            <th style="width: 15%">参数</th>
            <th style="width: 10%">类型</th>
            <th style="width: 10%">是否必填</th>
            <th style="width: 10%">最大长度</th>
            <th style="width: 15%">示例值</th>
            <th>描述</th>
        </tr>
        <tr>
            <td>appId</td>
            <td>String</td>
            <td>是</td>
            <td>32</td>
            <td>25ff246525412478</td>
            <td>消费循环系统分配给商户的应用id</td>
        </tr>
        <tr>
            <td>sign</td>
            <td>String</td>
            <td>是</td>
            <td>344</td>
            <td>ERITJKEIJKJHKKKKKKKHJEREEEEEEEEEEE</td>
            <td>签名</td>
        </tr>
        </tbody>
    </table>
    <h3 class="titleH3" id="common-response-parameter">公共响应参数</h3>
    <table>
        <tbody>
        <tr>
            <th style="width: 15%">参数</th>
            <th style="width: 10%">类型</th>
            <th style="width: 10%">是否必填</th>
            <th style="width: 10%">最大长度</th>
            <th style="width: 15%">示例值</th>
            <th>描述</th>
        </tr>
        <tr>
            <td>success</td>
            <td>Boolean</td>
            <td>是</td>
            <td>-</td>
            <td>true/false</td>
            <td>只是表示系统是否成功处理。true-成功处理，false-处理失败</td>
        </tr>
        <tr>
            <td>code</td>
            <td>String</td>
            <td>否</td>
            <td>10</td>
            <td>见示例</td>
            <td>错误码(成功不会返回)</td>
        </tr>
        <tr>
            <td>msg</td>
            <td>String</td>
            <td>是</td>
            <td>64</td>
            <td>见示例</td>
            <td>消费循环系统响应信息</td>
        </tr>
        <tr>
            <td>data</td>
            <td>Object</td>
            <td>是</td>
            <td></td>
            <td>见示例</td>
            <td>如果系统成功处理，但没有结果，比如查询，则该属性会保留，值为null</td>
        </tr>

        </tbody>
    </table>
    <br/>
    <h1 class="bigTitle" id="orders-return-white" style="font-size: 20px;">商户创建返还消费积分订单</h1>
    <p class="api-p">说明：该接口提供外部商户交易完成后给会员发放消费积分</p>

    <table>
        <tbody>
        <tr>
            <th>环境</th>
            <th>HTTP请求地址</th>
        </tr>
        <tr>
            <td>测试环境</td>
            <td>POST http://test.jf.yunfenghui.com/reward-api/api/member/whiteScore/trade.do</td>
        </tr>
        <tr>
            <td>正式环境</td>
            <td>POST http://jf.api.yunfenghui.com/api/member/whiteScore/trade.do</td>
        </tr>
        </tbody>
    </table>
    <h3 class="titleH3">请求参数</h3>
    <table>
        <tbody>
        <tr>
            <th style="width: 15%">参数</th>
            <th style="width: 10%">类型</th>
            <th style="width: 10%">是否必填</th>
            <th style="width: 10%">最大长度</th>
            <th style="width: 15%">示例值</th>
            <th>描述</th>
        </tr>
        <tr>
            <td>memberId</td>
            <td>Long</td>
            <td>是</td>
            <td>Long类型的最大值</td>
            <td>1234</td>
            <td>需要返还消费积分的会员id</td>
        </tr>
        <tr>
            <td>amount</td>
            <td>Decimal</td>
            <td>是</td>
            <td>99999.99</td>
            <td>12.25</td>
            <td>需要返还消费积分的金额(元)，最多保留2位小数。范围：0.01-99999.99</td>
        </tr>
        <tr>
            <td>outerTradeNo</td>
            <td>String</td>
            <td>是</td>
            <td>64</td>
            <td>200a240dfb97446f8e905c16f4194ff9</td>
            <td>商户交易号，需要在商户侧唯一</td>
        </tr>
        <tr>
            <td>dealType</td>
            <td>Int</td>
            <td>是</td>
            <td>Int最大值</td>
            <td>2</td>
            <td>交易类型：1(消费), 4(推广收入), 7(赠送), 8(销售), 99(其他)</td>
        </tr>
        <tr>
            <td>ignoreReferrer</td>
            <td>Int</td>
            <td>否</td>
            <td>取值：0 | 1</td>
            <td>1</td>
            <td>是否忽略推荐人返还，返还(0)，忽略(1)</td>
        </tr>
		<tr>
            <td>cashOutEnabled</td>
            <td>Int</td>
            <td>否</td>
            <td>取值：0 | 1</td>
            <td>1</td>
            <td>是否可提现，不可提现(0)，可提现(1). 不传默认为0.</td>
        </tr>
        <tr>
            <td>referrerIds</td>
            <td>String</td>
            <td>否</td>
            <td>512</td>
            <td>2345,5678</td>
            <td>会员推荐人id列表，多个推荐人id以","分隔</td>
        </tr>
        <tr>
            <td>notifyUrl</td>
            <td>String</td>
            <td>否</td>
            <td>256</td>
            <td>http://www.yunfenghui.com/xxx</td>
            <td>消费循环系统主动通知商户服务器里指定的路径。如果未指定该参数，则取商户在消费循环系统里配置的notifyUrl，如果未配置则不会通知</td>
        </tr>
        <tr>
            <td>orderNo</td>
            <td>String</td>
            <td>否</td>
            <td>64</td>
            <td>200a240dfb97446f8e905c16f4194ff9</td>
            <td>真实订单号</td>
        </tr>
        <tr>
            <td>isOnline</td>
            <td>Int</td>
            <td>否</td>
            <td>取值：0 | 1</td>
            <td>0</td>
            <td>是否为线上订单(1 是， 其他值为否)，不传默认为是</td>
        </tr>
        <tr>
            <td>orderDesc</td>
            <td>String</td>
            <td>否</td>
            <td>256</td>
            <td>赠送礼品</td>
            <td>订单描述</td>
        </tr>
        <tr>
            <td>includeArea</td>
            <td>Int</td>
            <td>否</td>
            <td>取值：0 | 1</td>
            <td>1</td>
            <td>是否包含区域代码(1 是， 其他值为否)，不传默认为否，为 1 时必须要传areaCode参数</td>
        </tr>
        <tr>
            <td>areaCodeAndAmounts</td>
            <td>String</td>
            <td>否</td>
            <td>1024</td>
            <td>100100:100.00,100101:80.50</td>
            <td>区域代码:金额，用","分隔多组</td>
        </tr>
        <tr>
            <td>remark</td>
            <td>String</td>
            <td>否</td>
            <td>64</td>
            <td>购买商品</td>
            <td>订单备注</td>
        </tr>
        <tr>
            <td>attach</td>
            <td>String</td>
            <td>否</td>
            <td>64</td>
            <td>-</td>
            <td>附加信息</td>
        </tr>
        </tbody>
    </table>
    <h3 class="titleH3">响应参数</h3>
    <table>
        <tbody>
        <tr>
            <th style="width: 15%">参数</th>
            <th style="width: 10%">类型</th>
            <th style="width: 10%">是否必填</th>
            <th style="width: 10%">最大长度</th>
            <th style="width: 15%">示例值</th>
            <th>描述</th>
        </tr>
        <tr>
            <td>outerTradeNo</td>
            <td>String</td>
            <td>是</td>
            <td>64</td>
            <td>0cc91db108904e969eaf0adfe474b482</td>
            <td>商户交易号</td>
        </tr>
        <tr>
            <td>tradeNo</td>
            <td>String</td>
            <td>是</td>
            <td>64</td>
            <td>5a33a9ad6e65c882771f1ede</td>
            <td>消费循环系统交易号</td>
        </tr>
        </tbody>
    </table>
    <h3 class="titleH3">响应示例</h3>
    <div class="code">
			<pre class="pre">
				<code>
	{
		"success": true,
		"msg": "成功",
		"data": {
			"outerTradeNo": "0cc91db108904e969eaf0adfe474b482",
			"tradeNo": "5a33a9ad6e65c882771f1ede"
		}
	}
				</code>
				</pre>
    </div>

    <h3 class="titleH3">异常示例</h3>
    <div class="code">
			<pre class="pre">
				<code>
	{
		"success": false
		"code" : "5502",
		"msg": "商户预付消费积分账户余额不足"
	}
	
	此接口可能返回的code:
        9101:缺少参数
        9105:签名错误
        9104:无效的会员id
        1302:会员已被冻结
        9110:无效的推荐人列表(推荐人列表必须为Long类型，多个以,分隔。且不可包括重复，不可与会员id重复)
        9107:无效的商户交易号
        9108:无效的金额
        9112:无效的交易类型
        9113:无效的ignoreReferrer
        9114:备注过长
        9118:订单描述过长
        9119:附加数据过长
        9120:无效的商户订单号
        9121:区域编码不存在或格式错误
        5502:商户预付消费积分账户余额不足
        99999:系统异常
				</code>
				</pre>
    </div>

    <h1 class="bigTitle" id="order-return-white-fruit" style="font-size: 20px;">商户查询返还消费积分订单结果</h1>
    <p class="api-p">说明：该接口提供外部商户查询返还消费积分订单结果</p>

    <table>
        <tbody>
        <tr>
            <th>环境</th>
            <th>HTTP请求地址</th>
        </tr>
        <tr>
            <td>测试环境</td>
            <td>POST http://test.jf.yunfenghui.com/reward-api/api/member/whiteScore/queryTrade.do</td>
        </tr>
        <tr>
            <td>正式环境</td>
            <td>POST http://jf.api.yunfenghui.com/api/member/whiteScore/queryTrade.do</td>
        </tr>
        </tbody>
    </table>
    <h3 class="titleH3">请求参数</h3>
    <table>
        <tbody>
        <tr>
            <th style="width: 15%">参数</th>
            <th style="width: 10%">类型</th>
            <th style="width: 10%">是否必填</th>
            <th style="width: 10%">最大长度</th>
            <th style="width: 15%">示例值</th>
            <th>描述</th>
        </tr>
        <tr>
            <td>outerTradeNo</td>
            <td>String</td>
            <td>特殊可选</td>
            <td>64</td>
            <td>0cc91db108904e969eaf0adfe474b482</td>
            <td>创建订单时传入的商户交易号。和tradeNo不能同时为空。如果和tradeNo同时存在则优先取tradeNo</td>
        </tr>
        <tr>
            <td>tradeNo</td>
            <td>String</td>
            <td>特殊可选</td>
            <td>64</td>
            <td>5a33a9ad6e65c882771f1ede</td>
            <td>消费循环系统交易号。和outerTradeNo不能同时为空。</td>
        </tr>
        </tbody>
    </table>
    <h3 class="titleH3">响应参数</h3>
    <table>
        <tbody>
        <tr>
            <th style="width: 15%">参数</th>
            <th style="width: 10%">类型</th>
            <th style="width: 10%">是否必填</th>
            <th style="width: 10%">最大长度</th>
            <th style="width: 15%">示例值</th>
            <th>描述</th>
        </tr>
        <tr>
            <td>memberId</td>
            <td>Long</td>
            <td>是</td>
            <td>Long类型的最大值</td>
            <td>1234</td>
            <td>创建订单时传入的会员id</td>
        </tr>
        <tr>
            <td>outerTradeNo</td>
            <td>String</td>
            <td>是</td>
            <td>64</td>
            <td>0cc91db108904e969eaf0adfe474b482</td>
            <td>商户交易号。</td>
        </tr>
        <tr>
            <td>tradeNo</td>
            <td>String</td>
            <td>是</td>
            <td>64</td>
            <td>5a33a9ad6e65c882771f1ede</td>
            <td>消费循环系统交易号。</td>
        </tr>
        <tr>
            <td>amount</td>
            <td>decimal</td>
            <td>是</td>
            <td>-</td>
            <td>12.34</td>
            <td>需要返还消费积分的金额(元)</td>
        </tr>
        <tr>
            <td>orderStatus</td>
            <td>Int</td>
            <td>是</td>
            <td>-</td>
            <td>2</td>
            <td>订单状态。1-待处理，2-返还成功</td>
        </tr>
        </tbody>
    </table>
    <h3 class="titleH3">响应示例</h3>
    <div class="code">
			<pre class="pre">
				<code>
	{
		"success": true,
		"msg": "成功",
		"data": {
			"memberId": 12345,
			"amount": 10,
			"tradeNo": "5a3498766e65002613a732a5",
			"outerTradeNo": "200a240dfb97446f8e905c16f4194dd9",
			"orderStatus": 2
		}
	}
				</code>
				</pre>
    </div>

    <h3 class="titleH3">异常示例</h3>
    <div class="code">
			<pre class="pre">
				<code>
	{
		"success": false,
		"code": "9109",
		"msg": "商户订单不存在"
	}
	
	此接口可能返回的code:
	9109:商户订单不存在
	99999:系统异常
				</code>
				</pre>
    </div>
    <!-- 商户撤销返还消费积分 -->
    <h1 class="bigTitle" id="revoke-white-score-order" style="font-size: 20px;">会员积分奖励撤销</h1>
    <p class="api-p">说明：该接口提供外部商户根据订单号撤销已返还的消费积分</p>

    <table>
        <tbody>
        <tr>
            <th>环境</th>
            <th>HTTP请求地址</th>
        </tr>
        <tr>
            <td>测试环境</td>
            <td>POST http://test.jf.yunfenghui.com/reward-api/api/member/whiteScore/revoke.do</td>
        </tr>
        <tr>
            <td>正式环境</td>
            <td>POST http://jf.api.yunfenghui.com/api/member/whiteScore/revoke.do</td>
        </tr>
        </tbody>
    </table>
    <h3 class="titleH3">请求参数</h3>
    <table>
        <tbody>
        <tr>
            <th style="width: 15%">参数</th>
            <th style="width: 10%">类型</th>
            <th style="width: 10%">是否必填</th>
            <th style="width: 10%">最大长度</th>
            <th style="width: 15%">示例值</th>
            <th>描述</th>
        </tr>
        <tr>
            <td>outerOrderNo</td>
            <td>String</td>
            <td>是</td>
            <td>64</td>
            <td>1180518397843224</td>
            <td>调用奖励积分API时传入的商户订单号。</td>
        </tr>
        <tr>
            <td>remark</td>
            <td>String</td>
            <td>否</td>
            <td>256</td>
            <td>正常撤销</td>
            <td>撤销原因</td>
        </tr>
        </tbody>
    </table>
    <h3 class="titleH3">响应参数</h3>
    <table>
        <tbody>
        <tr>
            <th style="width: 15%">参数</th>
            <th style="width: 10%">类型</th>
            <th style="width: 10%">是否必填</th>
            <th style="width: 10%">最大长度</th>
            <th style="width: 15%">示例值</th>
            <th>描述</th>
        </tr>
        <tr>
            <td>serialNumber</td>
            <td>String</td>
            <td>是</td>
            <td>32</td>
            <td>0cc91db108904e969eaf0adfe474b482</td>
            <td>消费循环系统撤销流水号</td>
        </tr>
        <tr>
            <td>outerOrderNo</td>
            <td>String</td>
            <td>是</td>
            <td>64</td>
            <td>1180518397843224</td>
            <td>调用奖励积分API时传入的商户订单号</td>
        </tr>
        <tr>
            <td>createTime</td>
            <td>date</td>
            <td>是</td>
            <td>-</td>
            <td>1527731565000</td>
            <td>撤销时间，毫秒</td>
        </tr>
        <tr>
            <td>details</td>
            <td>数组</td>
            <td>是</td>
            <td>-</td>
            <td>[{}, {}]</td>
            <td>撤销的积分返还记录实体数组，以下为实体的属性</td>
        </tr>
        <tr>
            <td>&nbsp;&nbsp;&nbsp;&nbsp;serialNumber</td>
            <td>String</td>
            <td>是</td>
            <td>32</td>
            <td>7dac98766e65002613a732a5</td>
            <td>消费循环系统流水号</td>
        </tr>
        <tr>
            <td>&nbsp;&nbsp;&nbsp;&nbsp;memberId</td>
            <td>Long</td>
            <td>是</td>
            <td>Long类型的最大值</td>
            <td>1234</td>
            <td>调用奖励积分API时传入的会员id</td>
        </tr>
        <tr>
            <td>&nbsp;&nbsp;&nbsp;&nbsp;outerTradeNo</td>
            <td>String</td>
            <td>是</td>
            <td>64</td>
            <td>0cc91db108904e969eaf0adfe474b482</td>
            <td>调用奖励积分API时传入的商户交易号</td>
        </tr>
        <tr>
            <td>&nbsp;&nbsp;&nbsp;&nbsp;tradeAmount</td>
            <td>decimal</td>
            <td>是</td>
            <td>12,2</td>
            <td>98.58</td>
            <td>调用奖励积分API时传入的原交易金额</td>
        </tr>
        <tr>
            <td>&nbsp;&nbsp;&nbsp;&nbsp;rollbackAmount</td>
            <td>decimal</td>
            <td>是</td>
            <td>12,2</td>
            <td>50.00</td>
            <td>已撤销金额</td>
        </tr>
        <tr>
            <td>&nbsp;&nbsp;&nbsp;&nbsp;remainAmount</td>
            <td>decimal</td>
            <td>是</td>
            <td>12,2</td>
            <td>28.58</td>
            <td>剩余金额</td>
        </tr>
        <tr>
            <td>&nbsp;&nbsp;&nbsp;&nbsp;createTime</td>
            <td>date</td>
            <td>是</td>
            <td>-</td>
            <td>1527731565000</td>
            <td>奖励时间，毫秒</td>
        </tr>
        </tbody>
    </table>
    <h3 class="titleH3">响应示例</h3>
    <div class="code">
			<pre class="pre">
				<code>
        {
			"success": true,
			"code": null,
			"msg": "成功",
			"data": {
				"serialNumber": "5b0f5638fe9c65927d56933a",
				"outerOrderNo": "201705310918",
				"createTime": 1527731768000,
				"details": [
					{
						"memberId": 194716,
						"serialNumber": "5b0f4d99fe9c65927d569329",
						"outerTradeNo": "2017053109181",
						"tradeAmount": 200,
						"rollbackAmount": 0,
						"remainAmount": 200,
						"createTime": 1527729561274
					},
					{
						"memberId": 169424,
						"serialNumber": "5b0f4dd6fe9c65927d569330",
						"outerTradeNo": "2017053109182",
						"tradeAmount": 10,
						"rollbackAmount": 0,
						"remainAmount": 10,
						"createTime": 1527729622269
					},
					{
						"memberId": 179387,
						"serialNumber": "5b0f4de4fe9c65927d569333",
						"outerTradeNo": "2017053109183",
						"tradeAmount": 5,
						"rollbackAmount": 0,
						"remainAmount": 5,
						"createTime": 1527729636746
					}
				]
			}
}
				</code>
            </pre>
    </div>

    <h3 class="titleH3">异常示例</h3>
    <div class="code">
			<pre class="pre">
				<code>
	{
		"success": false,
		"code": "5106",
		"msg": "商户订单号不存在"
	}

	此接口可能返回的code:
        5101:消费积分账户不存在
        5106:商户订单号不存在
        5204:风积分账户不存在
        5302:消费余额账户不存在
        9122:订单撤销原因过长
        99999:系统异常
				</code>
				</pre>
    </div>

    <!-- 会员增/减积分 -->
    <h1 class="bigTitle" id="increase-white-score" style="font-size: 20px;">会员增/减积分</h1>
    <p class="api-p">说明：该接口提供外部商户增加或扣减会员消费积分</p>

    <table>
        <tbody>
        <tr>
            <th>环境</th>
            <th>HTTP请求地址</th>
        </tr>
        <tr>
            <td>测试环境</td>
            <td>POST http://test.jf.yunfenghui.com/reward-api/api/member/whiteScore/increase.do</td>
        </tr>
        <tr>
            <td>正式环境</td>
            <td>POST http://jf.api.yunfenghui.com/api/member/whiteScore/increase.do</td>
        </tr>
        </tbody>
    </table>
    <h3 class="titleH3">请求参数</h3>
    <table>
        <tbody>
        <tr>
            <th style="width: 15%">参数</th>
            <th style="width: 10%">类型</th>
            <th style="width: 10%">是否必填</th>
            <th style="width: 10%">最大长度</th>
            <th style="width: 15%">示例值</th>
            <th>描述</th>
        </tr>
        <tr>
            <td>memberName</td>
            <td>String</td>
            <td>是</td>
            <td>-</td>
            <td>niujin</td>
            <td>会员账号</td>
        </tr>
        <tr>
            <td>phoneOrId</td>
            <td>String</td>
            <td>是</td>
            <td>-</td>
            <td>13800138000</td>
            <td>会员验证信息：会员11位手机号或身份证后6位(必须是11位或6位)</td>
        </tr>
        <tr>
            <td>amount</td>
            <td>decimal</td>
            <td>是</td>
            <td>99999.99</td>
            <td>100.98</td>
            <td>积分数：允许两位小数，传正数为增加积分，负数为扣减积分。<br>取值范围：[-99999.99,0) ∪ (0,99999.99]</td>
        </tr>
        <tr>
            <td>remark</td>
            <td>String</td>
            <td>否</td>
            <td>256</td>
            <td>正常扣除</td>
            <td>备注</td>
        </tr>
        </tbody>
    </table>
    <h3 class="titleH3">响应参数</h3>
    <table>
        <tbody>
        <tr>
            <th style="width: 15%">参数</th>
            <th style="width: 10%">类型</th>
            <th style="width: 10%">是否必填</th>
            <th style="width: 10%">最大长度</th>
            <th style="width: 15%">示例值</th>
            <th>描述</th>
        </tr>
        <tr>
            <td colspan="6" style="text-align: left;">无</td>
        </tr>
        </tbody>
    </table>
    <h3 class="titleH3">响应示例</h3>
    <div class="code">
			<pre class="pre">
				<code>
            {
                "success": true,
                "code": null,
                "msg": "成功",
                "data": null
            }
				</code>
            </pre>
    </div>

    <h3 class="titleH3">异常示例</h3>
    <div class="code">
			<pre class="pre">
				<code>
	{
		"success": false,
		"code": "5105",
		"msg": "消费积分账户余额不足"
	}

	此接口可能返回的code:
        1301:会员不存在
        1306:会员验证信息不正确
        5105:消费积分账户余额不足
        9101:缺少参数
        9104:无效的会员id
        9114:备注过长
        9123:无效的积分数量
        99999:系统异常
				</code>
				</pre>
    </div>

    <h1 class="bigTitle" id="member-account-balance" style="font-size: 20px;">查询兑出到商城账户余额前消费循环系统内会员账户余额</h1>
    <p class="api-p">说明：查询兑出到商城账户余额前消费循环系统内会员账户余额</p>

    <table>
        <tbody>
        <tr>
            <th>环境</th>
            <th>HTTP请求地址</th>
        </tr>
        <tr>
            <td>测试环境</td>
            <td>POST http://test.jf.yunfenghui.com/reward-api/api/member/account/balanceBeforeExchange.do</td>
        </tr>
        <tr>
            <td>正式环境</td>
            <td>POST http://jf.api.yunfenghui.com/api/member/account/balanceBeforeExchange.do</td>
        </tr>
        </tbody>
    </table>
    <h3 class="titleH3">请求参数</h3>
    <table>
        <tbody>
        <tr>
            <th style="width: 15%">参数</th>
            <th style="width: 10%">类型</th>
            <th style="width: 10%">是否必填</th>
            <th style="width: 10%">最大长度</th>
            <th style="width: 15%">示例值</th>
            <th>描述</th>
        </tr>
        <tr>
            <td>tradeNo</td>
            <td>String</td>
            <td>是</td>
            <td>64</td>
            <td>5a33a9ad6e65c882771f1ede</td>
            <td>消费循环系统交易号。</td>
        </tr>
        </tbody>
    </table>
    <h3 class="titleH3">响应参数</h3>
    <table>
        <tbody>
        <tr>
            <th style="width: 15%">参数</th>
            <th style="width: 10%">类型</th>
            <th style="width: 10%">是否必填</th>
            <th style="width: 10%">最大长度</th>
            <th style="width: 15%">示例值</th>
            <th>描述</th>
        </tr>
        <tr>
            <td>memberId</td>
            <td>Long</td>
            <td>是</td>
            <td></td>
            <td>123456</td>
            <td>会员id</td>
        </tr>
        <tr>
            <td>amount</td>
            <td>decimal</td>
            <td>是</td>
            <td></td>
            <td>123456</td>
            <td>消费循环系统兑出金额</td>
        </tr>
        <tr>
            <td>balance</td>
            <td>decimal</td>
            <td>是</td>
            <td>-</td>
            <td>1234.56</td>
            <td>兑出到商城账户余额前消费循环系统内会员账户余额(元)</td>
        </tr>
        </tbody>
    </table>
    <h3 class="titleH3">响应示例</h3>
    <div class="code">
			<pre class="pre">
				<code>
	{
		"success": true,
		"msg": "成功",
		"data": {
			"memberId" : 1234,
			"amount" : 12300,
			"balance": 1234.56
		}
	}
				</code>
				</pre>
    </div>

    <h3 class="titleH3">异常示例</h3>
    <div class="code">
			<pre class="pre">
				<code>
	{
		"success": false,
		"code": "99999",
		"msg": "系统异常"
	}
	
	此接口可能返回的code:
	9101:缺少参数
	9105:签名错误
	99999:系统异常
				</code>
				</pre>
    </div>

    <h1 class="bigTitle" id="anyc-order-return-white-fruit" style="font-size: 20px;">消费循环系统异步通知商户返还消费积分订单结果</h1>
    <p class="api-p">说明：该接口需由商户提供，消费循环系统处理完订单时调用该接口通知商户返还消费积分订单结果</p>

    <table>
        <tbody>
        <tr>
            <th>环境</th>
            <th>HTTP请求地址</th>
        </tr>
        <tr>
            <td>测试环境</td>
            <td>POST 商户接收消费循环系统通知返还消费积分订单结果的测试环境url</td>
        </tr>
        <tr>
            <td>正式环境</td>
            <td>POST 商户接收消费循环系统通知返还消费积分订单结果的正式环境url</td>
        </tr>
        </tbody>
    </table>
    <h3 class="titleH3">请求参数</h3>
    <table>
        <tbody>
        <tr>
            <th style="width: 15%">参数</th>
            <th style="width: 10%">类型</th>
            <th style="width: 10%">是否必填</th>
            <th style="width: 10%">最大长度</th>
            <th style="width: 15%">示例值</th>
            <th>描述</th>
        </tr>
        <tr>
            <td>memberId</td>
            <td>Long</td>
            <td>是</td>
            <td>Long类型的最大值</td>
            <td>1234</td>
            <td>创建订单时传入的会员id</td>
        </tr>
        <tr>
            <td>outerTradeNo</td>
            <td>String</td>
            <td>是</td>
            <td>64</td>
            <td>0cc91db108904e969eaf0adfe474b482</td>
            <td>创建订单时传入的商户交易号</td>
        </tr>
        <tr>
            <td>tradeNo</td>
            <td>String</td>
            <td>是</td>
            <td>64</td>
            <td>5a33a9ad6e65c882771f1ede</td>
            <td>消费循环系统交易号</td>
        </tr>
        <tr>
            <td>amount</td>
            <td>decimal</td>
            <td>是</td>
            <td>-</td>
            <td>12.34</td>
            <td>创建订单时传入的需要返还消费积分的金额(元)</td>
        </tr>
        <tr>
            <td>orderStatus</td>
            <td>Int</td>
            <td>是</td>
            <td>-</td>
            <td>2</td>
            <td>订单状态。1-待处理，2-返还成功</td>
        </tr>
        <tr>
            <td>sign</td>
            <td>String</td>
            <td>是</td>
            <td>344</td>
            <td>ERITJKEIJKJHKKKKKKKHJEREEEEEEEEEEE</td>
            <td>签名</td>
        </tr>
        </tbody>
    </table>
    <h3 class="titleH3">响应参数</h3>
    <table>
        <tbody>
        <tr>
            <th style="width: 15%">参数</th>
            <th style="width: 10%">类型</th>
            <th style="width: 10%">是否必填</th>
            <th style="width: 10%">最大长度</th>
            <th style="width: 15%">示例值</th>
            <th>描述</th>
        </tr>
        <tr>
            <td>success</td>
            <td>Boolean</td>
            <td>是</td>
            <td>-</td>
            <td>true/false</td>
            <td>true:商户系统已经成功接收并处理消费循环系统的通知。false:商户系统因为异常则没有处理消费循环系统的通知</td>
        </tr>
        <tr>
            <td>msg</td>
            <td>String</td>
            <td>是</td>
            <td>64</td>
            <td>见示例</td>
            <td>成功或异常信息</td>
        </tr>

        </tbody>
    </table>
    <h3 class="titleH3">响应示例</h3>
    <div class="code">
			<pre class="pre">
				<code>
	{
		"success": true,
		"msg": "成功"
	}
				</code>
				</pre>
    </div>

    <h3 class="titleH3">异常示例</h3>
    <div class="code">
			<pre class="pre">
				<code>
	{
		"success": false
		"msg": "xx异常"
	}
				</code>
				</pre>
    </div>

    <h1 class="bigTitle" id="order-come-white-fruit" style="font-size: 20px;">消费循环系统查询商户返还消费积分订单结果</h1>
    <p class="api-p">说明：该接口需由外部商户提供，消费循环系统查询商户返还消费积分订单结果</p>

    <table>
        <tbody>
        <tr>
            <th>环境</th>
            <th>HTTP请求地址</th>
        </tr>
        <tr>
            <td>测试环境</td>
            <td>POST 商户接收消费循环系统查询商户返还消费积分订单结果的测试环境url</td>
        </tr>
        <tr>
            <td>正式环境</td>
            <td>POST 商户接收消费循环系统查询商户返还消费积分订单结果的正式环境url</td>
        </tr>
        </tbody>
    </table>
    <h3 class="titleH3">请求参数</h3>
    <table>
        <tbody>
        <tr>
            <th style="width: 15%">参数</th>
            <th style="width: 10%">类型</th>
            <th style="width: 10%">是否必填</th>
            <th style="width: 10%">最大长度</th>
            <th style="width: 15%">示例值</th>
            <th>描述</th>
        </tr>
        <tr>
            <td>outerTradeNo</td>
            <td>String</td>
            <td>是</td>
            <td>64</td>
            <td>0cc91db108904e969eaf0adfe474b482</td>
            <td>创建订单时传入的商户交易号</td>
        </tr>
        <tr>
            <td>tradeNo</td>
            <td>String</td>
            <td>是</td>
            <td>64</td>
            <td>5a33a9ad6e65c882771f1ede</td>
            <td>消费循环系统交易号</td>
        </tr>
        </tbody>
    </table>
    <h3 class="titleH3">响应参数</h3>
    <table>
        <tbody>
        <tr>
            <th style="width: 15%">参数</th>
            <th style="width: 10%">类型</th>
            <th style="width: 10%">是否必填</th>
            <th style="width: 10%">最大长度</th>
            <th style="width: 15%">示例值</th>
            <th>描述</th>
        </tr>
        <tr>
            <td>memberId</td>
            <td>Long</td>
            <td>是</td>
            <td>Long类型的最大值</td>
            <td>1234</td>
            <td>创建订单时传入的会员id</td>
        </tr>
        <tr>
            <td>outerTradeNo</td>
            <td>String</td>
            <td>是</td>
            <td>64</td>
            <td>0cc91db108904e969eaf0adfe474b482</td>
            <td>商户交易号</td>
        </tr>
        <tr>
            <td>tradeNo</td>
            <td>String</td>
            <td>是</td>
            <td>64</td>
            <td>5a33a9ad6e65c882771f1ede</td>
            <td>消费循环系统交易号</td>
        </tr>
        <tr>
            <td>amount</td>
            <td>decimal</td>
            <td>是</td>
            <td>-</td>
            <td>12.34</td>
            <td>需要返还消费积分的金额(元)</td>
        </tr>
        </tbody>
    </table>
    <h3 class="titleH3">响应示例</h3>
    <div class="code">
			<pre class="pre">
				<code>
	{
		"success": true,
		"msg": "成功",
		"data": {
			"memberId": 1234,
			"outerTradeNo": "200a240dfb97446f8e905c16f4194dd9",
			"tradeNo": "5a3498766e65002613a732a5",
			"amount": 10
		}
	}
				</code>
				</pre>
    </div>

    <h3 class="titleH3">异常示例</h3>
    <div class="code">
			<pre class="pre">
				<code>
	{
		"success": false
		"msg": "xx异常"
	}
				</code>
				</pre>
    </div>
    <!-- 查询会员账户汇总信息 -->
    <h1 class="bigTitle" id="select-member-account-total" style="font-size: 20px;">查询会员账户汇总信息</h1>
    <p class="api-p">说明：该接口提供外部商户查询会员的消费积分余额、今日新增消费积分、风积分余额、今日新增风积分、消费余额、今日奖励数率。</p>
    <table>
        <tbody>
        <tr>
            <th>环境</th>
            <th>HTTP请求地址</th>
        </tr>
        <tr>
            <td>测试环境</td>
            <td>POST http://test.jf.yunfenghui.com/reward-api/api/member/mergedAccount/info.do</td>
        </tr>
        <tr>
            <td>正式环境</td>
            <td>POST http://jf.api.yunfenghui.com/api/member/mergedAccount/info.do</td>
        </tr>
        </tbody>
    </table>
    <h3 class="titleH3">请求参数</h3>
    <table>
        <tbody>
        <tr>
            <th style="width: 15%">参数</th>
            <th style="width: 10%">类型</th>
            <th style="width: 10%">是否必填</th>
            <th style="width: 10%">最大长度</th>
            <th style="width: 15%">示例值</th>
            <th>描述</th>
        </tr>
        <tr>
            <td>memberId</td>
            <td>Long</td>
            <td>是</td>
            <td>Long类型的最大值</td>
            <td>10010</td>
            <td>会员id</td>
        </tr>
        </tbody>
    </table>
    <h3 class="titleH3">响应参数</h3>
    <table>
        <tbody>
        <tr>
            <th style="width: 15%">参数</th>
            <th style="width: 10%">类型</th>
            <th style="width: 10%">是否必填</th>
            <th style="width: 10%">最大长度</th>
            <th style="width: 15%">示例值</th>
            <th>描述</th>
        </tr>
        <tr>
            <td>balanceOfWhiteScore</td>
            <td>Decimal</td>
            <td>是</td>
            <td>decimal(18,2)</td>
            <td>10000.00</td>
            <td>消费积分余额</td>
        </tr>
        <tr>
            <td>todayIncrementOfWhiteScore</td>
            <td>Decimal</td>
            <td>是</td>
            <td>decimal(18,2)</td>
            <td>10000.00</td>
            <td>今日新增消费积分</td>
        </tr>
        <tr>
            <td>balanceOfRedScore</td>
            <td>Decimal</td>
            <td>是</td>
            <td>decimal(18,2)</td>
            <td>10000.00</td>
            <td>风积分余额</td>
        </tr>
        <tr>
            <td>todayIncrementOfRedScore</td>
            <td>Decimal</td>
            <td>是</td>
            <td>decimal(18,2)</td>
            <td>10000.00</td>
            <td>今日新增风积分</td>
        </tr>
        <tr>
            <td>returnRatio</td>
            <td>Decimal</td>
            <td>是</td>
            <td>decimal(5,3)</td>
            <td>5.2</td>
            <td>今日奖励数率</td>
        </tr>
        <tr>
            <td>balanceOfAccount</td>
            <td>Decimal</td>
            <td>是</td>
            <td>decimal(18,2)</td>
            <td>10000.00</td>
            <td>消费余额</td>
        </tr>
        </tbody>
    </table>
    <h3 class="titleH3">响应示例</h3>
    <div class="code">
			<pre class="pre">
				<code>
            {
              "success": true,
              "code": null,
              "msg": "成功",
              "data": {
                "returnRatio": 5.2,
                "balanceOfWhiteScore": 1089520,
                "todayIncrementOfRedScore": 0,
                "balanceOfAccount": 355.3,
                "todayIncrementOfWhiteScore": 0,
                "balanceOfRedScore": 350
              }
            }
				</code>
				</pre>
    </div>

    <h3 class="titleH3">异常示例</h3>
    <div class="code">
			<pre class="pre">
				<code>
	{
		"success": false
		"msg": "xx异常"
	}
				</code>
				</pre>
    </div>
    <!-- 查询交易记录业务类型列表 -->
    <h1 class="bigTitle" id="select-trade-business-types" style="font-size: 20px;">查询交易记录业务类型列表</h1>
    <p class="api-p">说明：该接口提供外部商户查询交易业务类型列表。</p>
    <table>
        <tbody>
        <tr>
            <th>环境</th>
            <th>HTTP请求地址</th>
        </tr>
        <tr>
            <td>测试环境</td>
            <td>POST http://test.jf.yunfenghui.com/reward-api/api/member/mergedAccount/businessTypes.do</td>
        </tr>
        <tr>
            <td>正式环境</td>
            <td>POST http://jf.api.yunfenghui.com/api/member/mergedAccount/businessTypes.do</td>
        </tr>
        </tbody>
    </table>
    <h3 class="titleH3">请求参数</h3>
    <table>
        <tbody>
        <tr>
            <th style="width: 15%">参数</th>
            <th style="width: 10%">类型</th>
            <th style="width: 10%">是否必填</th>
            <th style="width: 10%">最大长度</th>
            <th style="width: 15%">示例值</th>
            <th>描述</th>
        </tr>
        </tbody>
    </table>
    <h3 class="titleH3">响应参数</h3>
    <table>
        <tbody>
        <tr>
            <th style="width: 15%">参数</th>
            <th style="width: 10%">类型</th>
            <th style="width: 10%">是否必填</th>
            <th style="width: 10%">最大长度</th>
            <th style="width: 15%">示例值</th>
            <th>描述</th>
        </tr>
        <tr>
            <td>data</td>
            <td>数组</td>
            <td>是</td>
            <td>-</td>
            <td>[ ]</td>
            <td>类型实体数组</td>
        </tr>
        <tr>
            <td>key</td>
            <td>Int</td>
            <td>是</td>
            <td>Int最大值</td>
            <td>2</td>
            <td>类型值</td>
        </tr>
        <tr>
            <td>value</td>
            <td>String</td>
            <td>是</td>
            <td>-</td>
            <td>推广收入</td>
            <td>类型描述</td>
        </tr>
        </tbody>
    </table>
    <h3 class="titleH3">响应示例</h3>
    <div class="code">
			<pre class="pre">
				<code>
            {
              "success": true,
              "code": null,
              "msg": "成功",
              "data": [
                {
                  "key": 1,
                  "value": "消费"
                },
                {
                  "key": 2,
                  "value": "推广收入"
                },
                {
                  "key": 3,
                  "value": "推广收入(系统发放)"
                },
                {
                  "key": 4,
                  "value": "赠送"
                },
                {
                  "key": 5,
                  "value": "销售"
                },
                {
                  "key": 6,
                  "value": "消费积分转风积分"
                },
                {
                  "key": 7,
                  "value": "发放消费积分"
                },
                {
                  "key": 8,
                  "value": "推广收入(商户发放)"
                },
                {
                  "key": 21,
                  "value": "风积分兑换消费余额"
                },
                {
                  "key": 31,
                  "value": "消费余额兑出商城余额"
                },
                {
                  "key": 99,
                  "value": "其他"
                }
              ]
            }
				</code>
				</pre>
    </div>

    <h3 class="titleH3">异常示例</h3>
    <div class="code">
			<pre class="pre">
				<code>
	{
		"success": false
		"msg": "xx异常"
	}
				</code>
				</pre>
    </div>
    <!-- 查询交易记录明细 -->
    <h1 class="bigTitle" id="select-trade-records" style="font-size: 20px;">查询交易记录明细</h1>
    <p class="api-p">说明：该接口提供外部商户查询会员的交易记录明细（分页）。</p>
    <table>
        <tbody>
        <tr>
            <th>环境</th>
            <th>HTTP请求地址</th>
        </tr>
        <tr>
            <td>测试环境</td>
            <td>POST http://test.jf.yunfenghui.com/reward-api/api/member/mergedAccount/tradeRecords.do</td>
        </tr>
        <tr>
            <td>正式环境</td>
            <td>POST http://jf.api.yunfenghui.com/api/member/mergedAccount/tradeRecords.do</td>
        </tr>
        </tbody>
    </table>
    <h3 class="titleH3">请求参数</h3>
    <table>
        <tbody>
        <tr>
            <th style="width: 15%">参数</th>
            <th style="width: 10%">类型</th>
            <th style="width: 10%">是否必填</th>
            <th style="width: 10%">最大长度</th>
            <th style="width: 15%">示例值</th>
            <th>描述</th>
        </tr>
        <tr>
            <td>memberId</td>
            <td>Long</td>
            <td>是</td>
            <td>Long类型的最大值</td>
            <td>10010</td>
            <td>会员id</td>
        </tr>
        <tr>
            <td>businessType</td>
            <td>Int</td>
            <td>否</td>
            <td>Int类型的最大值</td>
            <td>1</td>
            <td>业务类型：参考<a href="#select-trade-business-types">查询交易记录业务类型列表</a></td>
        </tr>
        <tr>
            <td>startDate</td>
            <td>String</td>
            <td>否</td>
            <td>-</td>
            <td>2018-01-29</td>
            <td>起始日期(yyyy-MM-dd)</td>
        </tr>
        <tr>
            <td>endDate</td>
            <td>String</td>
            <td>否</td>
            <td>-</td>
            <td>2018-01-29</td>
            <td>截止日期(yyyy-MM-dd)</td>
        </tr>
        <tr>
            <td>currentPage</td>
            <td>Int</td>
            <td>是</td>
            <td>Int类型的最大值</td>
            <td>1</td>
            <td>分页参数：当前页数，最小为1</td>
        </tr>
        <tr>
            <td>pageSize</td>
            <td>Int</td>
            <td>是</td>
            <td>Int类型的最大值</td>
            <td>10</td>
            <td>分页参数：最多返回的记录条数</td>
        </tr>
        </tbody>
    </table>
    <h3 class="titleH3">响应参数</h3>
    <table>
        <tbody>
        <tr>
            <th style="width: 15%">参数</th>
            <th style="width: 10%">类型</th>
            <th style="width: 10%">是否必填</th>
            <th style="width: 10%">最大长度</th>
            <th style="width: 15%">示例值</th>
            <th>描述</th>
        </tr>
        <tr>
            <td>currentPage</td>
            <td>Int</td>
            <td>是</td>
            <td>Int类型最大值</td>
            <td>1</td>
            <td>分页参数：当前页数</td>
        </tr>
        <tr>
            <td>pageSize</td>
            <td>Int</td>
            <td>是</td>
            <td>Int类型最大值</td>
            <td>10</td>
            <td>分页参数：最多返回的记录条数</td>
        </tr>
        <tr>
            <td>total</td>
            <td>Int</td>
            <td>是</td>
            <td>Int类型最大值</td>
            <td>22</td>
            <td>分页参数：总记录条数</td>
        </tr>
        <tr>
            <td>hasNext</td>
            <td>Boolean</td>
            <td>是</td>
            <td>true|false</td>
            <td>true</td>
            <td>分页参数：是否有下一页</td>
        </tr>
        <tr>
            <td>hasPre</td>
            <td>Boolean</td>
            <td>是</td>
            <td>true|false</td>
            <td>false</td>
            <td>分页参数：是否有上一页</td>
        </tr>
        <tr>
            <td>rows</td>
            <td>数组</td>
            <td>否，可能为null</td>
            <td>取决于pageSize</td>
            <td>[ ]</td>
            <td>交易记录明细实体数组，后续参数在rows不为null的情况下</td>
        </tr>
        <tr>
            <td>serialNumber</td>
            <td>String</td>
            <td>是</td>
            <td>32</td>
            <td>5a66da6577fb5503ee47bb58</td>
            <td>流水号</td>
        </tr>
        <tr>
            <td>amount</td>
            <td>Decimal</td>
            <td>是</td>
            <td>decimal(18,2)</td>
            <td>100.00</td>
            <td>收支，可能为负数</td>
        </tr>
        <tr>
            <td>accountType</td>
            <td>int</td>
            <td>是</td>
            <td>Int类型最大值</td>
            <td>1</td>
            <td>账户类型</td>
        </tr>
        <tr>
            <td>accountTypeValue</td>
            <td>String</td>
            <td>是</td>
            <td>64</td>
            <td>消费积分</td>
            <td>账户类型描述</td>
        </tr>
        <tr>
            <td>businessType</td>
            <td>Int</td>
            <td>是</td>
            <td>Int最大值</td>
            <td>1</td>
            <td>业务类型</td>
        </tr>
        <tr>
            <td>businessTypeValue</td>
            <td>String</td>
            <td>是</td>
            <td>64</td>
            <td>消费</td>
            <td>业务类型描述</td>
        </tr>
        <tr>
            <td>createTime</td>
            <td>String</td>
            <td>是</td>
            <td>19</td>
            <td>2018-01-23 14:47:01</td>
            <td>时间(yyyy-MM-dd HH:mm:ss)</td>
        </tr>
        <tr>
            <td>recommendedName</td>
            <td>String</td>
            <td>否</td>
            <td>-</td>
            <td>万小虎</td>
            <td>被推荐人账号</td>
        </tr>
        </tbody>
    </table>
    <h3 class="titleH3">响应示例</h3>
    <div class="code">
			<pre class="pre">
				<code>
            {
              "success": true,
              "code": null,
              "msg": "成功",
              "data": {
                "currentPage": 1,
                "pageSize": 10,
                "total": 18,
                "rows": [
                  {
                    "serialNumber": "5a7808d677fba8ffa4f2d116",
                    "createTime": "2018-02-05 15:33:42",
                    "amount": 900,
                    "businessType": 3,
                    "businessTypeValue": "推广收入(系统发放)",
                    "accountType": 1,
                    "accountTypeValue": "消费积分",
                    "recommendedName": "陈桂珍珍"
                  },
                  {
                    "serialNumber": "5a73398a227094544a777cb1",
                    "createTime": "2018-02-02 00:00:10",
                    "amount": 688.49,
                    "businessType": 6,
                    "businessTypeValue": "消费积分转风积分",
                    "accountType": 2,
                    "accountTypeValue": "风积分"
                  },
                  {
                    "serialNumber": "5a72e34a2270306e36a7fb86",
                    "createTime": "2018-02-01 17:52:10",
                    "amount": 2,
                    "businessType": 21,
                    "businessTypeValue": "风积分兑换消费余额",
                    "accountType": 3,
                    "accountTypeValue": "消费余额"
                  },
                  {
                    "serialNumber": "5a72d7ed77fbeecc7676a908",
                    "createTime": "2018-02-01 17:03:42",
                    "amount": 15,
                    "businessType": 31,
                    "businessTypeValue": "消费余额兑出商城余额",
                    "accountType": 3,
                    "accountTypeValue": "消费余额"
                  }
                ],
                "hasPre": false,
                "hasNext": true
              }
            }
				</code>
				</pre>
    </div>

    <h3 class="titleH3">异常示例</h3>
    <div class="code">
			<pre class="pre">
				<code>
	{
		"success": false
		"msg": "xx异常"
	}
				</code>
				</pre>
    </div>
    <!-- 查询交易记录详情 -->
    <h1 class="bigTitle" id="select-trade-record-detail" style="font-size: 20px;">查询交易记录详情</h1>
    <p class="api-p">说明：该接口提供外部商户查询会员的交易记录详情。</p>
    <table>
        <tbody>
        <tr>
            <th>环境</th>
            <th>HTTP请求地址</th>
        </tr>
        <tr>
            <td>测试环境</td>
            <td>POST http://test.jf.yunfenghui.com/reward-api/api/member/mergedAccount/tradeRecord.do</td>
        </tr>
        <tr>
            <td>正式环境</td>
            <td>POST http://jf.api.yunfenghui.com/api/member/mergedAccount/tradeRecord.do</td>
        </tr>
        </tbody>
    </table>
    <h3 class="titleH3">请求参数</h3>
    <table>
        <tbody>
        <tr>
            <th style="width: 15%">参数</th>
            <th style="width: 10%">类型</th>
            <th style="width: 10%">是否必填</th>
            <th style="width: 10%">最大长度</th>
            <th style="width: 15%">示例值</th>
            <th>描述</th>
        </tr>
        <tr>
            <td>serialNumber</td>
            <td>String</td>
            <td>是</td>
            <td>32</td>
            <td>5a66da6577fb5503ee47bb58</td>
            <td>流水号</td>
        </tr>
        <tr>
            <td>businessType</td>
            <td>Int</td>
            <td>是</td>
            <td>Int最大值</td>
            <td>1</td>
            <td>业务类型</td>
        </tr>
        </tbody>
    </table>
    <h3 class="titleH3">响应参数</h3>
    <table>
        <tbody>
        <tr>
            <th style="width: 15%">参数</th>
            <th style="width: 10%">类型</th>
            <th style="width: 10%">是否必填</th>
            <th style="width: 10%">最大长度</th>
            <th style="width: 15%">示例值</th>
            <th>描述</th>
        </tr>
        <tr>
            <td>data</td>
            <td>详情实体</td>
            <td>否，可能为null</td>
            <td>-</td>
            <td>[ ]</td>
            <td>收支记录实体，后续参数在data不为null的情况下</td>
        </tr>
        <tr>
            <td>label</td>
            <td>String</td>
            <td>是</td>
            <td>-</td>
            <td>消费积分</td>
            <td>内容标题</td>
        </tr>
        <tr>
            <td>value</td>
            <td>String</td>
            <td>是</td>
            <td>-</td>
            <td>+10000.00</td>
            <td>显示的内容</td>
        </tr>
        </tbody>
    </table>
    <h3 class="titleH3">响应示例</h3>
    <div class="code">
			<pre class="pre">
				<code>
            {
              "success": true,
              "code": null,
              "msg": "成功",
              "data": [
                {
                  "value": "5a4b29760cf2abb0116d3762",
                  "label": "流水号"
                },
                {
                  "value": "消费奖励",
                  "label": "交易类型"
                },
                {
                  "value": "+130.00",
                  "label": "消费积分"
                },
                {
                  "value": "云风商城",
                  "label": "来源"
                },
                {
                  "value": "2018-01-02 14:40:54",
                  "label": "交易时间"
                }
              ]
            }
				</code>
				</pre>
    </div>

    <h3 class="titleH3">异常示例</h3>
    <div class="code">
			<pre class="pre">
				<code>
	{
		"success": false
		"msg": "xx异常"
	}
				</code>
				</pre>
    </div>
    <!-- 查询消费积分交易类型列表 -->
    <h1 class="bigTitle" id="select-score-white-deal-types" style="font-size: 20px;">查询消费积分交易类型列表</h1>
    <p class="api-p">说明：该接口提供外部商户查询消费积分交易类型列表。</p>
    <table>
        <tbody>
        <tr>
            <th>环境</th>
            <th>HTTP请求地址</th>
        </tr>
        <tr>
            <td>测试环境</td>
            <td>POST http://test.jf.yunfenghui.com/reward-api/api/member/whiteScore/dealTypes.do</td>
        </tr>
        <tr>
            <td>正式环境</td>
            <td>POST http://jf.api.yunfenghui.com/api/member/whiteScore/dealTypes.do</td>
        </tr>
        </tbody>
    </table>
    <h3 class="titleH3">请求参数</h3>
    <table>
        <tbody>
        <tr>
            <th style="width: 15%">参数</th>
            <th style="width: 10%">类型</th>
            <th style="width: 10%">是否必填</th>
            <th style="width: 10%">最大长度</th>
            <th style="width: 15%">示例值</th>
            <th>描述</th>
        </tr>
        </tbody>
    </table>
    <h3 class="titleH3">响应参数</h3>
    <table>
        <tbody>
        <tr>
            <th style="width: 15%">参数</th>
            <th style="width: 10%">类型</th>
            <th style="width: 10%">是否必填</th>
            <th style="width: 10%">最大长度</th>
            <th style="width: 15%">示例值</th>
            <th>描述</th>
        </tr>
        <tr>
            <td>data</td>
            <td>数组</td>
            <td>是</td>
            <td>-</td>
            <td>[ ]</td>
            <td>类型实体数组</td>
        </tr>
        <tr>
            <td>key</td>
            <td>Int</td>
            <td>是</td>
            <td>Int最大值</td>
            <td>1</td>
            <td>类型值</td>
        </tr>
        <tr>
            <td>value</td>
            <td>String</td>
            <td>是</td>
            <td>-</td>
            <td>消费</td>
            <td>类型描述</td>
        </tr>
        </tbody>
    </table>
    <h3 class="titleH3">响应示例</h3>
    <div class="code">
			<pre class="pre">
				<code>
            {
              "success": true,
              "code": null,
              "msg": "成功",
              "data": [
                {
                  "key": 1,
                  "value": "消费"
                },
                {
                  "key": 4,
                  "value": "推广收入"
                },
                {
                  "key": 11,
                  "value": "消费积分转风积分"
                },
                {
                  "key": 5,
                  "value": "商户发放"
                },
                {
                  "key": 2,
                  "value": "兑换风积分"
                },
                {
                  "key": 6,
                  "value": "兑出商城余额"
                },
                {
                  "key": 7,
                  "value": "赠送"
                },
                {
                  "key": 8,
                  "value": "销售"
                },
                {
                  "key": 99,
                  "value": "其他"
                }
              ]
            }
				</code>
				</pre>
    </div>

    <h3 class="titleH3">异常示例</h3>
    <div class="code">
			<pre class="pre">
				<code>
	{
		"success": false
		"msg": "xx异常"
	}
				</code>
				</pre>
    </div>
    <!-- 查询消费积分余额 -->
    <h1 class="bigTitle" id="select-consume-score-balance" style="font-size: 20px;">查询消费积分余额</h1>
    <p class="api-p">说明：该接口提供外部商户查询会员的消费积分余额。</p>
    <table>
        <tbody>
        <tr>
            <th>环境</th>
            <th>HTTP请求地址</th>
        </tr>
        <tr>
            <td>测试环境</td>
            <td>POST http://test.jf.yunfenghui.com/reward-api/api/member/whiteScore/balance.do</td>
        </tr>
        <tr>
            <td>正式环境</td>
            <td>POST http://jf.api.yunfenghui.com/api/member/whiteScore/balance.do</td>
        </tr>
        </tbody>
    </table>
    <h3 class="titleH3">请求参数</h3>
    <table>
        <tbody>
        <tr>
            <th style="width: 15%">参数</th>
            <th style="width: 10%">类型</th>
            <th style="width: 10%">是否必填</th>
            <th style="width: 10%">最大长度</th>
            <th style="width: 15%">示例值</th>
            <th>描述</th>
        </tr>
        <tr>
            <td>memberId</td>
            <td>Long</td>
            <td>是</td>
            <td>Long类型的最大值</td>
            <td>10010</td>
            <td>会员id</td>
        </tr>
        </tbody>
    </table>
    <h3 class="titleH3">响应参数</h3>
    <table>
        <tbody>
        <tr>
            <th style="width: 15%">参数</th>
            <th style="width: 10%">类型</th>
            <th style="width: 10%">是否必填</th>
            <th style="width: 10%">最大长度</th>
            <th style="width: 15%">示例值</th>
            <th>描述</th>
        </tr>
        <tr>
            <td>data</td>
            <td>Decimal</td>
            <td>是</td>
            <td>decimal(18,2)</td>
            <td>10000.00</td>
            <td>消费积分余额</td>
        </tr>
        </tbody>
    </table>
    <h3 class="titleH3">响应示例</h3>
    <div class="code">
			<pre class="pre">
				<code>
            {
              "success": true,
              "code": null,
              "msg": "成功",
              "data": 1089520
            }
				</code>
				</pre>
    </div>
    <h3 class="titleH3">异常示例</h3>
    <div class="code">
			<pre class="pre">
				<code>
	{
		"success": false
		"msg": "xx异常"
	}
				</code>
				</pre>
    </div>
    <!-- 查询消费积分收支明细 -->
    <h1 class="bigTitle" id="select-consume-score-detail" style="font-size: 20px;">查询消费积分收支明细</h1>
    <p class="api-p">说明：该接口提供外部商户查询会员的消费积分收支明细（分页）。</p>
    <table>
        <tbody>
        <tr>
            <th>环境</th>
            <th>HTTP请求地址</th>
        </tr>
        <tr>
            <td>测试环境</td>
            <td>POST http://test.jf.yunfenghui.com/reward-api/api/member/whiteScore/changeRecords.do</td>
        </tr>
        <tr>
            <td>正式环境</td>
            <td>POST http://jf.api.yunfenghui.com/api/member/whiteScore/changeRecords.do</td>
        </tr>
        </tbody>
    </table>
    <h3 class="titleH3">请求参数</h3>
    <table>
        <tbody>
        <tr>
            <th style="width: 15%">参数</th>
            <th style="width: 10%">类型</th>
            <th style="width: 10%">是否必填</th>
            <th style="width: 10%">最大长度</th>
            <th style="width: 15%">示例值</th>
            <th>描述</th>
        </tr>
        <tr>
            <td>memberId</td>
            <td>Long</td>
            <td>是</td>
            <td>Long类型的最大值</td>
            <td>10010</td>
            <td>会员id</td>
        </tr>
        <tr>
            <td>dealType</td>
            <td>Int</td>
            <td>否</td>
            <td>Int类型的最大值</td>
            <td>1</td>
            <td>消费积分交易类型：参考<a href="#select-score-white-deal-types">查询消费积分交易类型列表</a></td>
        </tr>
        <tr>
            <td>startDate</td>
            <td>String</td>
            <td>否</td>
            <td>-</td>
            <td>2018-01-29</td>
            <td>起始日期(yyyy-MM-dd)</td>
        </tr>
        <tr>
            <td>endDate</td>
            <td>String</td>
            <td>否</td>
            <td>-</td>
            <td>2018-01-29</td>
            <td>截止日期(yyyy-MM-dd)</td>
        </tr>
        <tr>
            <td>currentPage</td>
            <td>Int</td>
            <td>是</td>
            <td>Int类型的最大值</td>
            <td>1</td>
            <td>分页参数：当前页数，最小为1</td>
        </tr>
        <tr>
            <td>pageSize</td>
            <td>Int</td>
            <td>是</td>
            <td>Int类型的最大值</td>
            <td>10</td>
            <td>分页参数：最多返回的记录条数</td>
        </tr>
        </tbody>
    </table>
    <h3 class="titleH3">响应参数</h3>
    <table>
        <tbody>
        <tr>
            <th style="width: 15%">参数</th>
            <th style="width: 10%">类型</th>
            <th style="width: 10%">是否必填</th>
            <th style="width: 10%">最大长度</th>
            <th style="width: 15%">示例值</th>
            <th>描述</th>
        </tr>
        <tr>
            <td>currentPage</td>
            <td>Int</td>
            <td>是</td>
            <td>Int类型最大值</td>
            <td>1</td>
            <td>分页参数：当前页数</td>
        </tr>
        <tr>
            <td>pageSize</td>
            <td>Int</td>
            <td>是</td>
            <td>Int类型最大值</td>
            <td>10</td>
            <td>分页参数：最多返回的记录条数</td>
        </tr>
        <tr>
            <td>total</td>
            <td>Int</td>
            <td>是</td>
            <td>Int类型最大值</td>
            <td>22</td>
            <td>分页参数：总记录条数</td>
        </tr>
        <tr>
            <td>hasNext</td>
            <td>Boolean</td>
            <td>是</td>
            <td>true|false</td>
            <td>true</td>
            <td>分页参数：是否有下一页</td>
        </tr>
        <tr>
            <td>hasPre</td>
            <td>Boolean</td>
            <td>是</td>
            <td>true|false</td>
            <td>false</td>
            <td>分页参数：是否有上一页</td>
        </tr>
        <tr>
            <td>rows</td>
            <td>数组</td>
            <td>否，可能为null</td>
            <td>取决于pageSize</td>
            <td>[ ]</td>
            <td>消费积分收支明细实体数组，后续参数在rows不为null的情况下</td>
        </tr>
        <tr>
            <td>serialNumber</td>
            <td>String</td>
            <td>是</td>
            <td>32</td>
            <td>5a66da6577fb5503ee47bb58</td>
            <td>流水号</td>
        </tr>
        <tr>
            <td>amount</td>
            <td>Decimal</td>
            <td>是</td>
            <td>decimal(18,2)</td>
            <td>100.00</td>
            <td>收支，可能为负数</td>
        </tr>
        <tr>
            <td>balance</td>
            <td>Decimal</td>
            <td>是</td>
            <td>decimal(18,2)</td>
            <td>1000.00</td>
            <td>消费积分余额</td>
        </tr>
        <tr>
            <td>dealType</td>
            <td>String</td>
            <td>是</td>
            <td>64</td>
            <td>消费</td>
            <td>交易类型描述</td>
        </tr>
        <tr>
            <td>createTime</td>
            <td>String</td>
            <td>是</td>
            <td>19</td>
            <td>2018-01-23 14:47:01</td>
            <td>时间(yyyy-MM-dd HH:mm:ss)</td>
        </tr>
        <tr>
            <td>recommendedName</td>
            <td>String</td>
            <td>否</td>
            <td>-</td>
            <td>万小虎</td>
            <td>被推荐人账号</td>
        </tr>
        </tbody>
    </table>
    <h3 class="titleH3">响应示例</h3>
    <div class="code">
			<pre class="pre">
				<code>
            {
              "success": true,
              "code": null,
              "msg": "成功",
              "data": {
                "currentPage": 1,
                "pageSize": 5,
                "total": 52,
                "rows": [
                  {
                    "serialNumber": "5a7808d677fba8ffa4f2d118",
                    "amount": 900,
                    "balance": 1219825.55,
                    "dealType": "推广收入",
                    "createTime": "2018-02-05 15:33:43",
                    "recommendedName": "陈桂珍珍"
                  },
                  {
                    "serialNumber": "5a7806dc77fb1b44699588f1",
                    "amount": 875,
                    "balance": 1218925.55,
                    "dealType": "推广收入",
                    "createTime": "2018-02-05 15:25:16",
                    "recommendedName": "陈桂珍珍"
                  },
                  {
                    "serialNumber": "5a78012577fb66515cd9d3cf",
                    "amount": 75,
                    "balance": 1218050.55,
                    "dealType": "推广收入",
                    "createTime": "2018-02-05 15:00:53",
                    "recommendedName": "zenglh"
                  },
                  {
                    "serialNumber": "5a77ff7177fb23008101b5bc",
                    "amount": 1000,
                    "balance": 1217975.55,
                    "dealType": "推广收入",
                    "createTime": "2018-02-05 14:53:37",
                    "recommendedName": "陈桂珍珍"
                  },
                  {
                    "serialNumber": "5a73398c227094544a779d36",
                    "amount": -688.49,
                    "balance": 1216975.55,
                    "dealType": "消费积分转风积分",
                    "createTime": "2018-02-02 00:00:12"
                  }
                ],
                "hasPre": false,
                "hasNext": true
              }
            }
				</code>
				</pre>
    </div>

    <h3 class="titleH3">异常示例</h3>
    <div class="code">
			<pre class="pre">
				<code>
	{
		"success": false
		"msg": "xx异常"
	}
				</code>
				</pre>
    </div>
    <!-- 查询消费积分收支记录详情 -->
    <h1 class="bigTitle" id="select-consume-score-record-detail" style="font-size: 20px;">查询消费积分收支记录详情</h1>
    <p class="api-p">说明：该接口提供外部商户查询会员的消费积分收支记录详情。</p>
    <table>
        <tbody>
        <tr>
            <th>环境</th>
            <th>HTTP请求地址</th>
        </tr>
        <tr>
            <td>测试环境</td>
            <td>POST http://test.jf.yunfenghui.com/reward-api/api/member/whiteScore/changeRecord.do</td>
        </tr>
        <tr>
            <td>正式环境</td>
            <td>POST http://jf.api.yunfenghui.com/api/member/whiteScore/changeRecord.do</td>
        </tr>
        </tbody>
    </table>
    <h3 class="titleH3">请求参数</h3>
    <table>
        <tbody>
        <tr>
            <th style="width: 15%">参数</th>
            <th style="width: 10%">类型</th>
            <th style="width: 10%">是否必填</th>
            <th style="width: 10%">最大长度</th>
            <th style="width: 15%">示例值</th>
            <th>描述</th>
        </tr>
        <tr>
            <td>serialNumber</td>
            <td>String</td>
            <td>是</td>
            <td>32</td>
            <td>5a66da6577fb5503ee47bb58</td>
            <td>流水号</td>
        </tr>
        </tbody>
    </table>
    <h3 class="titleH3">响应参数</h3>
    <table>
        <tbody>
        <tr>
            <th style="width: 15%">参数</th>
            <th style="width: 10%">类型</th>
            <th style="width: 10%">是否必填</th>
            <th style="width: 10%">最大长度</th>
            <th style="width: 15%">示例值</th>
            <th>描述</th>
        </tr>
        <tr>
            <td>data</td>
            <td>收支记录实体</td>
            <td>否，可能为null</td>
            <td>-</td>
            <td>{ }</td>
            <td>收支记录实体，后续参数在data不为null的情况下</td>
        </tr>
        <tr>
            <td>serialNumber</td>
            <td>String</td>
            <td>是</td>
            <td>32</td>
            <td>5a66da6577fb5503ee47bb58</td>
            <td>流水号</td>
        </tr>
        <tr>
            <td>amount</td>
            <td>Decimal</td>
            <td>是</td>
            <td>decimal(18,2)</td>
            <td>10000.00</td>
            <td>收支，可能为负数</td>
        </tr>
        <tr>
            <td>balance</td>
            <td>Decimal</td>
            <td>是</td>
            <td>decimal(18,2)</td>
            <td>1069520.00</td>
            <td>消费积分余额</td>
        </tr>
        <tr>
            <td>dealType</td>
            <td>String</td>
            <td>是</td>
            <td>64</td>
            <td>消费奖励</td>
            <td>交易类型</td>
        </tr>
        <tr>
            <td>createTime</td>
            <td>String</td>
            <td>是</td>
            <td>19</td>
            <td>2018-01-23 14:47:01</td>
            <td>时间(yyyy-MM-dd HH:mm:ss)</td>
        </tr>
        <tr>
            <td>recommendedName</td>
            <td>String</td>
            <td>否</td>
            <td>-</td>
            <td>万小虎</td>
            <td>被推荐人账号</td>
        </tr>
        </tbody>
    </table>
    <h3 class="titleH3">响应示例</h3>
    <div class="code">
			<pre class="pre">
				<code>
            {
              "success": true,
              "code": null,
              "msg": "成功",
              "data": {
                "serialNumber": "5a7806dc77fb1b44699588f1",
                "amount": 875,
                "balance": 1218925.55,
                "dealType": "推广收入",
                "createTime": "2018-02-05 15:25:16",
                "recommendedName": "陈桂珍珍"
              }
            }
				</code>
				</pre>
    </div>

    <h3 class="titleH3">异常示例</h3>
    <div class="code">
			<pre class="pre">
				<code>
	{
		"success": false
		"msg": "xx异常"
	}
				</code>
				</pre>
    </div>
    <!-- 查询风积分交易类型列表 -->
    <h1 class="bigTitle" id="select-score-red-deal-types" style="font-size: 20px;">查询风积分交易类型列表</h1>
    <p class="api-p">说明：该接口提供外部商户查询风积分交易类型列表。</p>
    <table>
        <tbody>
        <tr>
            <th>环境</th>
            <th>HTTP请求地址</th>
        </tr>
        <tr>
            <td>测试环境</td>
            <td>POST http://test.jf.yunfenghui.com/reward-api/api/member/redScore/dealTypes.do</td>
        </tr>
        <tr>
            <td>正式环境</td>
            <td>POST http://jf.api.yunfenghui.com/api/member/redScore/dealTypes.do</td>
        </tr>
        </tbody>
    </table>
    <h3 class="titleH3">请求参数</h3>
    <table>
        <tbody>
        <tr>
            <th style="width: 15%">参数</th>
            <th style="width: 10%">类型</th>
            <th style="width: 10%">是否必填</th>
            <th style="width: 10%">最大长度</th>
            <th style="width: 15%">示例值</th>
            <th>描述</th>
        </tr>
        </tbody>
    </table>
    <h3 class="titleH3">响应参数</h3>
    <table>
        <tbody>
        <tr>
            <th style="width: 15%">参数</th>
            <th style="width: 10%">类型</th>
            <th style="width: 10%">是否必填</th>
            <th style="width: 10%">最大长度</th>
            <th style="width: 15%">示例值</th>
            <th>描述</th>
        </tr>
        <tr>
            <td>data</td>
            <td>数组</td>
            <td>是</td>
            <td>-</td>
            <td>[ ]</td>
            <td>类型实体数组</td>
        </tr>
        <tr>
            <td>key</td>
            <td>Int</td>
            <td>是</td>
            <td>Int最大值</td>
            <td>1</td>
            <td>类型值</td>
        </tr>
        <tr>
            <td>value</td>
            <td>String</td>
            <td>是</td>
            <td>-</td>
            <td>消费</td>
            <td>类型描述</td>
        </tr>
        </tbody>
    </table>
    <h3 class="titleH3">响应示例</h3>
    <div class="code">
			<pre class="pre">
				<code>
            {
              "success": true,
              "code": null,
              "msg": "成功",
              "data": [
                {
                  "key": 1,
                  "value": "消费积分转风积分"
                },
                {
                  "key": 2,
                  "value": "风积分兑换消费余额"
                }
              ]
            }
				</code>
				</pre>
    </div>

    <h3 class="titleH3">异常示例</h3>
    <div class="code">
			<pre class="pre">
				<code>
	{
		"success": false
		"msg": "xx异常"
	}
				</code>
				</pre>
    </div>
    <!-- 查询风积分余额 -->
    <h1 class="bigTitle" id="select-red-score-balance" style="font-size: 20px;">查询风积分余额</h1>
    <p class="api-p">说明：该接口提供外部商户查询会员的风积分余额。</p>
    <table>
        <tbody>
        <tr>
            <th>环境</th>
            <th>HTTP请求地址</th>
        </tr>
        <tr>
            <td>测试环境</td>
            <td>POST http://test.jf.yunfenghui.com/reward-api/api/member/redScore/balance.do</td>
        </tr>
        <tr>
            <td>正式环境</td>
            <td>POST http://jf.api.yunfenghui.com/api/member/redScore/balance.do</td>
        </tr>
        </tbody>
    </table>
    <h3 class="titleH3">请求参数</h3>
    <table>
        <tbody>
        <tr>
            <th style="width: 15%">参数</th>
            <th style="width: 10%">类型</th>
            <th style="width: 10%">是否必填</th>
            <th style="width: 10%">最大长度</th>
            <th style="width: 15%">示例值</th>
            <th>描述</th>
        </tr>
        <tr>
            <td>memberId</td>
            <td>Long</td>
            <td>是</td>
            <td>Long类型的最大值</td>
            <td>10010</td>
            <td>会员id</td>
        </tr>
        </tbody>
    </table>
    <h3 class="titleH3">响应参数</h3>
    <table>
        <tbody>
        <tr>
            <th style="width: 15%">参数</th>
            <th style="width: 10%">类型</th>
            <th style="width: 10%">是否必填</th>
            <th style="width: 10%">最大长度</th>
            <th style="width: 15%">示例值</th>
            <th>描述</th>
        </tr>
        <tr>
            <td>data</td>
            <td>Decimal</td>
            <td>是</td>
            <td>decimal(18,2)</td>
            <td>10000.00</td>
            <td>风积分余额</td>
        </tr>
        </tbody>
    </table>
    <h3 class="titleH3">响应示例</h3>
    <div class="code">
			<pre class="pre">
				<code>
            {
              "success": true,
              "code": null,
              "msg": "成功",
              "data": 1089520
            }
				</code>
				</pre>
    </div>
    <h3 class="titleH3">异常示例</h3>
    <div class="code">
			<pre class="pre">
				<code>
	{
		"success": false
		"msg": "xx异常"
	}
				</code>
				</pre>
    </div>
    <!-- 查询风积分收支明细 -->
    <h1 class="bigTitle" id="select-red-score-detail" style="font-size: 20px;">查询风积分收支明细</h1>
    <p class="api-p">说明：该接口提供外部商户查询会员的风积分收支明细（分页）。</p>
    <table>
        <tbody>
        <tr>
            <th>环境</th>
            <th>HTTP请求地址</th>
        </tr>
        <tr>
            <td>测试环境</td>
            <td>POST http://test.jf.yunfenghui.com/reward-api/api/member/redScore/changeRecords.do</td>
        </tr>
        <tr>
            <td>正式环境</td>
            <td>POST http://jf.api.yunfenghui.com/api/member/redScore/changeRecords.do</td>
        </tr>
        </tbody>
    </table>
    <h3 class="titleH3">请求参数</h3>
    <table>
        <tbody>
        <tr>
            <th style="width: 15%">参数</th>
            <th style="width: 10%">类型</th>
            <th style="width: 10%">是否必填</th>
            <th style="width: 10%">最大长度</th>
            <th style="width: 15%">示例值</th>
            <th>描述</th>
        </tr>
        <tr>
            <td>memberId</td>
            <td>Long</td>
            <td>是</td>
            <td>Long类型的最大值</td>
            <td>10010</td>
            <td>会员id</td>
        </tr>
        <tr>
            <td>dealType</td>
            <td>Int</td>
            <td>否</td>
            <td>Int类型的最大值</td>
            <td>1</td>
            <td>风积分交易类型：参考<a href="#select-score-red-deal-types">查询风积分交易类型列表</a></td>
        </tr>
        <tr>
            <td>startDate</td>
            <td>String</td>
            <td>否</td>
            <td>-</td>
            <td>2018-01-29</td>
            <td>起始日期(yyyy-MM-dd)</td>
        </tr>
        <tr>
            <td>endDate</td>
            <td>String</td>
            <td>否</td>
            <td>-</td>
            <td>2018-01-29</td>
            <td>截止日期(yyyy-MM-dd)</td>
        </tr>
        <tr>
            <td>currentPage</td>
            <td>Int</td>
            <td>是</td>
            <td>Int类型的最大值</td>
            <td>1</td>
            <td>分页参数：当前页数，最小为1</td>
        </tr>
        <tr>
            <td>pageSize</td>
            <td>Int</td>
            <td>是</td>
            <td>Int类型的最大值</td>
            <td>10</td>
            <td>分页参数：最多返回的记录条数</td>
        </tr>
        </tbody>
    </table>
    <h3 class="titleH3">响应参数</h3>
    <table>
        <tbody>
        <tr>
            <th style="width: 15%">参数</th>
            <th style="width: 10%">类型</th>
            <th style="width: 10%">是否必填</th>
            <th style="width: 10%">最大长度</th>
            <th style="width: 15%">示例值</th>
            <th>描述</th>
        </tr>
        <tr>
            <td>currentPage</td>
            <td>Int</td>
            <td>是</td>
            <td>Int类型最大值</td>
            <td>1</td>
            <td>分页参数：当前页数</td>
        </tr>
        <tr>
            <td>pageSize</td>
            <td>Int</td>
            <td>是</td>
            <td>Int类型最大值</td>
            <td>10</td>
            <td>分页参数：最多返回的记录条数</td>
        </tr>
        <tr>
            <td>total</td>
            <td>Int</td>
            <td>是</td>
            <td>Int类型最大值</td>
            <td>22</td>
            <td>分页参数：总记录条数</td>
        </tr>
        <tr>
            <td>hasNext</td>
            <td>Boolean</td>
            <td>是</td>
            <td>true|false</td>
            <td>true</td>
            <td>分页参数：是否有下一页</td>
        </tr>
        <tr>
            <td>hasPre</td>
            <td>Boolean</td>
            <td>是</td>
            <td>true|false</td>
            <td>false</td>
            <td>分页参数：是否有上一页</td>
        </tr>
        <tr>
            <td>rows</td>
            <td>数组</td>
            <td>否，可能为null</td>
            <td>取决于pageSize</td>
            <td>[ ]</td>
            <td>风积分收支明细实体数组，后续参数在rows不为null的情况下</td>
        </tr>
        <tr>
            <td>serialNumber</td>
            <td>String</td>
            <td>是</td>
            <td>32</td>
            <td>5a66da6577fb5503ee47bb58</td>
            <td>流水号</td>
        </tr>
        <tr>
            <td>amount</td>
            <td>Decimal</td>
            <td>是</td>
            <td>decimal(18,2)</td>
            <td>100.00</td>
            <td>收支，可能为负数</td>
        </tr>
        <tr>
            <td>balance</td>
            <td>Decimal</td>
            <td>是</td>
            <td>decimal(18,2)</td>
            <td>1000.00</td>
            <td>风积分余额</td>
        </tr>
        <tr>
            <td>dealType</td>
            <td>String</td>
            <td>是</td>
            <td>64</td>
            <td>消费积分转风积分</td>
            <td>交易类型描述</td>
        </tr>
        <tr>
            <td>createTime</td>
            <td>String</td>
            <td>是</td>
            <td>19</td>
            <td>2018-01-23 14:47:01</td>
            <td>时间(yyyy-MM-dd HH:mm:ss)</td>
        </tr>
        </tbody>
    </table>
    <h3 class="titleH3">响应示例</h3>
    <div class="code">
			<pre class="pre">
				<code>
            {
              "success": true,
              "code": null,
              "msg": "成功",
              "data": {
                "currentPage": 1,
                "pageSize": 5,
                "total": 5,
                "rows": [
                  {
                    "serialNumber": "5a61e8666e65849afaad7f6c",
                    "amount": -100,
                    "balance": -100,
                    "dealType": "风积分兑换消费余额",
                    "createTime": "2018-01-19 20:45:27"
                  },
                  {
                    "serialNumber": "5a54e70d227039e4f0914bde",
                    "amount": 525,
                    "balance": 525,
                    "dealType": "消费积分转风积分",
                    "createTime": "2018-01-10 00:00:13"
                  }
                ],
                "hasNext": false,
                "hasPre": false
              }
            }
				</code>
				</pre>
    </div>

    <h3 class="titleH3">异常示例</h3>
    <div class="code">
			<pre class="pre">
				<code>
	{
		"success": false
		"msg": "xx异常"
	}
				</code>
				</pre>
    </div>
    <!-- 查询风积分收支记录详情 -->
    <h1 class="bigTitle" id="select-red-score-record-detail" style="font-size: 20px;">查询风积分收支记录详情</h1>
    <p class="api-p">说明：该接口提供外部商户查询会员的风积分收支记录详情。</p>
    <table>
        <tbody>
        <tr>
            <th>环境</th>
            <th>HTTP请求地址</th>
        </tr>
        <tr>
            <td>测试环境</td>
            <td>POST http://test.jf.yunfenghui.com/reward-api/api/member/redScore/changeRecord.do</td>
        </tr>
        <tr>
            <td>正式环境</td>
            <td>POST http://jf.api.yunfenghui.com/api/member/redScore/changeRecord.do</td>
        </tr>
        </tbody>
    </table>
    <h3 class="titleH3">请求参数</h3>
    <table>
        <tbody>
        <tr>
            <th style="width: 15%">参数</th>
            <th style="width: 10%">类型</th>
            <th style="width: 10%">是否必填</th>
            <th style="width: 10%">最大长度</th>
            <th style="width: 15%">示例值</th>
            <th>描述</th>
        </tr>
        <tr>
            <td>serialNumber</td>
            <td>String</td>
            <td>是</td>
            <td>32</td>
            <td>5a66da6577fb5503ee47bb58</td>
            <td>流水号</td>
        </tr>
        </tbody>
    </table>
    <h3 class="titleH3">响应参数</h3>
    <table>
        <tbody>
        <tr>
            <th style="width: 15%">参数</th>
            <th style="width: 10%">类型</th>
            <th style="width: 10%">是否必填</th>
            <th style="width: 10%">最大长度</th>
            <th style="width: 15%">示例值</th>
            <th>描述</th>
        </tr>
        <tr>
            <td>data</td>
            <td>收支记录实体</td>
            <td>否，可能为null</td>
            <td>-</td>
            <td>{ }</td>
            <td>收支记录实体，后续参数在data不为null的情况下</td>
        </tr>
        <tr>
            <td>serialNumber</td>
            <td>String</td>
            <td>是</td>
            <td>32</td>
            <td>5a66da6577fb5503ee47bb58</td>
            <td>流水号</td>
        </tr>
        <tr>
            <td>amount</td>
            <td>Decimal</td>
            <td>是</td>
            <td>decimal(18,2)</td>
            <td>100.00</td>
            <td>收支，可能为负数</td>
        </tr>
        <tr>
            <td>balance</td>
            <td>Decimal</td>
            <td>是</td>
            <td>decimal(18,2)</td>
            <td>1000.00</td>
            <td>风积分余额</td>
        </tr>
        <tr>
            <td>dealType</td>
            <td>String</td>
            <td>是</td>
            <td>64</td>
            <td>风积分兑换消费余额</td>
            <td>交易类型</td>
        </tr>
        <tr>
            <td>createTime</td>
            <td>String</td>
            <td>是</td>
            <td>19</td>
            <td>2018-01-23 14:47:01</td>
            <td>时间(yyyy-MM-dd HH:mm:ss)</td>
        </tr>
        </tbody>
    </table>
    <h3 class="titleH3">响应示例</h3>
    <div class="code">
			<pre class="pre">
				<code>
            {
              "success": true,
              "code": null,
              "msg": "成功",
              "data": {
                "serialNumber": "5a61ba7a77fbacc4660cde90",
                "amount": -500,
                "balance": 550,
                "dealType": "风积分兑换消费余额",
                "createTime": "2018-01-19 17:29:30"
              }
            }
				</code>
				</pre>
    </div>

    <h3 class="titleH3">异常示例</h3>
    <div class="code">
			<pre class="pre">
				<code>
	{
		"success": false
		"msg": "xx异常"
	}
				</code>
				</pre>
    </div>
    <!-- 风积分兑换消费余额 -->
    <h1 class="bigTitle" id="red-score-consume-balance" style="font-size: 20px;">风积分兑换消费余额</h1>
    <p class="api-p">说明：该接口提供外部商户将会员的风积分兑换为消费余额。</p>
    <table>
        <tbody>
        <tr>
            <th>环境</th>
            <th>HTTP请求地址</th>
        </tr>
        <tr>
            <td>测试环境</td>
            <td>POST http://test.jf.yunfenghui.com/reward-api/api/member/redScore/exchange.do</td>
        </tr>
        <tr>
            <td>正式环境</td>
            <td>POST http://jf.api.yunfenghui.com/api/member/redScore/exchange.do</td>
        </tr>
        </tbody>
    </table>
    <h3 class="titleH3">请求参数</h3>
    <table>
        <tbody>
        <tr>
            <th style="width: 15%">参数</th>
            <th style="width: 10%">类型</th>
            <th style="width: 10%">是否必填</th>
            <th style="width: 10%">最大长度</th>
            <th style="width: 15%">示例值</th>
            <th>描述</th>
        </tr>
        <tr>
            <td>memberId</td>
            <td>Long</td>
            <td>是</td>
            <td>Long类型的最大值</td>
            <td>10010</td>
            <td>需要兑换风积分的会员id</td>
        </tr>
        <tr>
            <td>amount</td>
            <td>Decimal</td>
            <td>是</td>
            <td>decimal(18,2)</td>
            <td>1001</td>
            <td>需要兑换的风积分数(最小值需参考消费循环系统配置参数)，该参数会忽略小数部分</td>
        </tr>
        <tr>
            <td>securityPassword</td>
            <td>String</td>
            <td>是</td>
            <td>-</td>
            <td>888888</td>
            <td>安全密码（商城支付密码）</td>
        </tr>
        </tbody>
    </table>
    <h3 class="titleH3">响应参数</h3>
    <table>
        <tbody>
        <tr>
            <th style="width: 15%">参数</th>
            <th style="width: 10%">类型</th>
            <th style="width: 10%">是否必填</th>
            <th style="width: 10%">最大长度</th>
            <th style="width: 15%">示例值</th>
            <th>描述</th>
        </tr>
        <tr>
            <td colspan="6">无</td>
        </tr>
        </tbody>
    </table>
    <h3 class="titleH3">响应示例</h3>
    <div class="code">
			<pre class="pre">
				<code>
            {
              "success": true,
              "msg": "成功"
            }
				</code>
				</pre>
    </div>

    <h3 class="titleH3">异常示例</h3>
    <div class="code">
			<pre class="pre">
				<code>
	{
		"success": false
		"msg": "xx异常"
	}
				</code>
				</pre>
    </div>
    <!-- 查询消费余额交易类型列表 -->
    <h1 class="bigTitle" id="select-account-balance-deal-types" style="font-size: 20px;">查询消费余额交易类型列表</h1>
    <p class="api-p">说明：该接口提供外部商户查询消费余额交易类型列表。</p>
    <table>
        <tbody>
        <tr>
            <th>环境</th>
            <th>HTTP请求地址</th>
        </tr>
        <tr>
            <td>测试环境</td>
            <td>POST http://test.jf.yunfenghui.com/reward-api/api/member/account/dealTypes.do</td>
        </tr>
        <tr>
            <td>正式环境</td>
            <td>POST http://jf.api.yunfenghui.com/api/member/account/dealTypes.do</td>
        </tr>
        </tbody>
    </table>
    <h3 class="titleH3">请求参数</h3>
    <table>
        <tbody>
        <tr>
            <th style="width: 15%">参数</th>
            <th style="width: 10%">类型</th>
            <th style="width: 10%">是否必填</th>
            <th style="width: 10%">最大长度</th>
            <th style="width: 15%">示例值</th>
            <th>描述</th>
        </tr>
        </tbody>
    </table>
    <h3 class="titleH3">响应参数</h3>
    <table>
        <tbody>
        <tr>
            <th style="width: 15%">参数</th>
            <th style="width: 10%">类型</th>
            <th style="width: 10%">是否必填</th>
            <th style="width: 10%">最大长度</th>
            <th style="width: 15%">示例值</th>
            <th>描述</th>
        </tr>
        <tr>
            <td>data</td>
            <td>数组</td>
            <td>是</td>
            <td>-</td>
            <td>[ ]</td>
            <td>类型实体数组</td>
        </tr>
        <tr>
            <td>key</td>
            <td>Int</td>
            <td>是</td>
            <td>Int最大值</td>
            <td>1</td>
            <td>类型值</td>
        </tr>
        <tr>
            <td>value</td>
            <td>String</td>
            <td>是</td>
            <td>-</td>
            <td>消费</td>
            <td>类型描述</td>
        </tr>
        </tbody>
    </table>
    <h3 class="titleH3">响应示例</h3>
    <div class="code">
			<pre class="pre">
				<code>
            {
              "success": true,
              "code": null,
              "msg": "成功",
              "data": [
                {
                  "key": 1,
                  "value": "风积分兑换消费余额"
                },
                {
                  "key": 4,
                  "value": "兑出商城余额"
                },
                {
                  "key": 5,
                  "value": "撤销兑出商城余额"
                }
              ]
            }
				</code>
				</pre>
    </div>

    <h3 class="titleH3">异常示例</h3>
    <div class="code">
			<pre class="pre">
				<code>
	{
		"success": false
		"msg": "xx异常"
	}
				</code>
				</pre>
    </div>
    <!-- 查询消费余额 -->
    <h1 class="bigTitle" id="select-consume-balance" style="font-size: 20px;">查询消费余额</h1>
    <p class="api-p">说明：该接口提供外部商户查询会员的消费余额。</p>
    <table>
        <tbody>
        <tr>
            <th>环境</th>
            <th>HTTP请求地址</th>
        </tr>
        <tr>
            <td>测试环境</td>
            <td>POST http://test.jf.yunfenghui.com/reward-api/api/member/account/balance.do</td>
        </tr>
        <tr>
            <td>正式环境</td>
            <td>POST http://jf.api.yunfenghui.com/api/member/account/balance.do</td>
        </tr>
        </tbody>
    </table>
    <h3 class="titleH3">请求参数</h3>
    <table>
        <tbody>
        <tr>
            <th style="width: 15%">参数</th>
            <th style="width: 10%">类型</th>
            <th style="width: 10%">是否必填</th>
            <th style="width: 10%">最大长度</th>
            <th style="width: 15%">示例值</th>
            <th>描述</th>
        </tr>
        <tr>
            <td>memberId</td>
            <td>Long</td>
            <td>是</td>
            <td>Long类型的最大值</td>
            <td>10010</td>
            <td>会员id</td>
        </tr>
        </tbody>
    </table>
    <h3 class="titleH3">响应参数</h3>
    <table>
        <tbody>
        <tr>
            <th style="width: 15%">参数</th>
            <th style="width: 10%">类型</th>
            <th style="width: 10%">是否必填</th>
            <th style="width: 10%">最大长度</th>
            <th style="width: 15%">示例值</th>
            <th>描述</th>
        </tr>
        <tr>
            <td>balance</td>
            <td>Decimal</td>
            <td>是</td>
            <td>decimal(18,2)</td>
            <td>100.00</td>
            <td>消费余额</td>
        </tr>
        <tr>
            <td>drawBalance</td>
            <td>Decimal</td>
            <td>是</td>
            <td>decimal(18,2)</td>
            <td>20.00</td>
            <td>可提现消费余额</td>
        </tr>
        <tr>
            <td>enablePay</td>
            <td>boolean</td>
            <td>是</td>
            <td>0|1</td>
            <td>1</td>
            <td>余额是否可用于支付</td>
        </tr>
        <tr>
            <td>enableWithDraw</td>
            <td>boolean</td>
            <td>是</td>
            <td>0|1</td>
            <td>1</td>
            <td>余额是否可以提现</td>
        </tr>
        </tbody>
    </table>
    <h3 class="titleH3">响应示例</h3>
    <div class="code">
			<pre class="pre">
				<code>
            {
            "success": true,
            "code": null,
            "msg": "成功",
            "data": {
                "balance": 100,
                "drawBalace": 20,
                "enablePay": true,
                "enableWithDraw": true
                }
            }
				</code>
				</pre>
    </div>
    <h3 class="titleH3">异常示例</h3>
    <div class="code">
			<pre class="pre">
				<code>
	{
		"success": false
		"msg": "xx异常"
	}
				</code>
				</pre>
    </div>
    <!-- 查询消费余额收支明细 -->
    <h1 class="bigTitle" id="select-consume-balance-detail" style="font-size: 20px;">查询消费余额收支明细</h1>
    <p class="api-p">说明：该接口提供外部商户查询会员的消费余额收支明细（分页）。</p>
    <table>
        <tbody>
        <tr>
            <th>环境</th>
            <th>HTTP请求地址</th>
        </tr>
        <tr>
            <td>测试环境</td>
            <td>POST http://test.jf.yunfenghui.com/reward-api/api/member/account/changeRecords.do</td>
        </tr>
        <tr>
            <td>正式环境</td>
            <td>POST http://jf.api.yunfenghui.com/api/member/account/changeRecords.do</td>
        </tr>
        </tbody>
    </table>
    <h3 class="titleH3">请求参数</h3>
    <table>
        <tbody>
        <tr>
            <th style="width: 15%">参数</th>
            <th style="width: 10%">类型</th>
            <th style="width: 10%">是否必填</th>
            <th style="width: 10%">最大长度</th>
            <th style="width: 15%">示例值</th>
            <th>描述</th>
        </tr>
        <tr>
            <td>memberId</td>
            <td>Long</td>
            <td>是</td>
            <td>Long类型的最大值</td>
            <td>10010</td>
            <td>会员id</td>
        </tr>
        <tr>
            <td>dealType</td>
            <td>Int</td>
            <td>否</td>
            <td>Int类型的最大值</td>
            <td>1</td>
            <td>消费余额交易类型：参考<a href="#select-account-balance-deal-types">查询消费余额交易类型列表</a></td>
        </tr>
        <tr>
            <td>startDate</td>
            <td>String</td>
            <td>否</td>
            <td>-</td>
            <td>2018-01-29</td>
            <td>起始日期(yyyy-MM-dd)</td>
        </tr>
        <tr>
            <td>endDate</td>
            <td>String</td>
            <td>否</td>
            <td>-</td>
            <td>2018-01-29</td>
            <td>截止日期(yyyy-MM-dd)</td>
        </tr>
        <tr>
            <td>currentPage</td>
            <td>Int</td>
            <td>是</td>
            <td>Int类型的最大值</td>
            <td>1</td>
            <td>分页参数：当前页数，最小为1</td>
        </tr>
        <tr>
            <td>pageSize</td>
            <td>Int</td>
            <td>是</td>
            <td>Int类型的最大值</td>
            <td>10</td>
            <td>分页参数：最多返回的记录条数</td>
        </tr>
        </tbody>
    </table>
    <h3 class="titleH3">响应参数</h3>
    <table>
        <tbody>
        <tr>
            <th style="width: 15%">参数</th>
            <th style="width: 10%">类型</th>
            <th style="width: 10%">是否必填</th>
            <th style="width: 10%">最大长度</th>
            <th style="width: 15%">示例值</th>
            <th>描述</th>
        </tr>
        <tr>
            <td>currentPage</td>
            <td>Int</td>
            <td>是</td>
            <td>Int类型最大值</td>
            <td>1</td>
            <td>分页参数：当前页数</td>
        </tr>
        <tr>
            <td>pageSize</td>
            <td>Int</td>
            <td>是</td>
            <td>Int类型最大值</td>
            <td>10</td>
            <td>分页参数：最多返回的记录条数</td>
        </tr>
        <tr>
            <td>total</td>
            <td>Int</td>
            <td>是</td>
            <td>Int类型最大值</td>
            <td>22</td>
            <td>分页参数：总记录条数</td>
        </tr>
        <tr>
            <td>hasNext</td>
            <td>Boolean</td>
            <td>是</td>
            <td>true|false</td>
            <td>true</td>
            <td>分页参数：是否有下一页</td>
        </tr>
        <tr>
            <td>hasPre</td>
            <td>Boolean</td>
            <td>是</td>
            <td>true|false</td>
            <td>false</td>
            <td>分页参数：是否有上一页</td>
        </tr>
        <tr>
            <td>rows</td>
            <td>数组</td>
            <td>否，可能为null</td>
            <td>取决于pageSize</td>
            <td>[ ]</td>
            <td>风积分收支明细实体数组，后续参数在rows不为null的情况下</td>
        </tr>
        <tr>
            <td>serialNumber</td>
            <td>String</td>
            <td>是</td>
            <td>32</td>
            <td>5a66da6577fb5503ee47bb58</td>
            <td>流水号</td>
        </tr>
        <tr>
            <td>amount</td>
            <td>Decimal</td>
            <td>是</td>
            <td>decimal(18,2)</td>
            <td>100.00</td>
            <td>收支，可能为负数</td>
        </tr>
        <tr>
            <td>balance</td>
            <td>Decimal</td>
            <td>是</td>
            <td>decimal(18,2)</td>
            <td>1000.00</td>
            <td>余额</td>
        </tr>
        <tr>
            <td>dealType</td>
            <td>String</td>
            <td>是</td>
            <td>64</td>
            <td>风积分兑换消费余额</td>
            <td>交易类型描述</td>
        </tr>
        <tr>
            <td>createTime</td>
            <td>String</td>
            <td>是</td>
            <td>19</td>
            <td>2018-01-23 14:47:01</td>
            <td>时间(yyyy-MM-dd HH:mm:ss)</td>
        </tr>
        </tbody>
    </table>
    <h3 class="titleH3">响应示例</h3>
    <div class="code">
			<pre class="pre">
				<code>
            {
              "success": true,
              "code": null,
              "msg": "成功",
              "data": {
                "currentPage": 1,
                "pageSize": 2,
                "total": 82,
                "rows": [
                  {
                    "serialNumber": "5a61e8666e65849afaad7f6d",
                    "amount": 0.9,
                    "balance": 355.3,
                    "dealType": "风积分兑换消费余额",
                    "createTime": "2018-01-19 20:45:27"
                  },
                  {
                    "serialNumber": "5a61e0c177fb5c75385e4319",
                    "amount": 0.9,
                    "balance": 354.4,
                    "dealType": "风积分兑换消费余额",
                    "createTime": "2018-01-19 20:12:50"
                  }
                ],
                "hasNext": true,
                "hasPre": false
              }
            }
				</code>
				</pre>
    </div>

    <h3 class="titleH3">异常示例</h3>
    <div class="code">
			<pre class="pre">
				<code>
	{
		"success": false
		"msg": "xx异常"
	}
				</code>
				</pre>
    </div>
    <!-- 查询消费消费余额收支记录详情 -->
    <h1 class="bigTitle" id="select-consume-balance-record-detail" style="font-size: 20px;">查询消费余额收支记录详情</h1>
    <p class="api-p">说明：该接口提供外部商户查询会员的消费余额收支记录详情。</p>
    <table>
        <tbody>
        <tr>
            <th>环境</th>
            <th>HTTP请求地址</th>
        </tr>
        <tr>
            <td>测试环境</td>
            <td>POST http://test.jf.yunfenghui.com/reward-api/api/member/account/changeRecord.do</td>
        </tr>
        <tr>
            <td>正式环境</td>
            <td>POST http://jf.api.yunfenghui.com/api/member/account/changeRecord.do</td>
        </tr>
        </tbody>
    </table>
    <h3 class="titleH3">请求参数</h3>
    <table>
        <tbody>
        <tr>
            <th style="width: 15%">参数</th>
            <th style="width: 10%">类型</th>
            <th style="width: 10%">是否必填</th>
            <th style="width: 10%">最大长度</th>
            <th style="width: 15%">示例值</th>
            <th>描述</th>
        </tr>
        <tr>
            <td>serialNumber</td>
            <td>String</td>
            <td>是</td>
            <td>32</td>
            <td>5a66da6577fb5503ee47bb58</td>
            <td>流水号</td>
        </tr>
        </tbody>
    </table>
    <h3 class="titleH3">响应参数</h3>
    <table>
        <tbody>
        <tr>
            <th style="width: 15%">参数</th>
            <th style="width: 10%">类型</th>
            <th style="width: 10%">是否必填</th>
            <th style="width: 10%">最大长度</th>
            <th style="width: 15%">示例值</th>
            <th>描述</th>
        </tr>
        <tr>
            <td>data</td>
            <td>收支记录实体</td>
            <td>否，可能为null</td>
            <td>-</td>
            <td>{ }</td>
            <td>收支记录实体，后续参数在data不为null的情况下</td>
        </tr>
        <tr>
            <td>serialNumber</td>
            <td>String</td>
            <td>是</td>
            <td>32</td>
            <td>5a66da6577fb5503ee47bb58</td>
            <td>流水号</td>
        </tr>
        <tr>
            <td>amount</td>
            <td>Decimal</td>
            <td>是</td>
            <td>decimal(18,2)</td>
            <td>10000.00</td>
            <td>收支，可能为负数</td>
        </tr>
        <tr>
            <td>balance</td>
            <td>Decimal</td>
            <td>是</td>
            <td>decimal(18,2)</td>
            <td>1069520.00</td>
            <td>余额</td>
        </tr>
        <tr>
            <td>dealType</td>
            <td>String</td>
            <td>是</td>
            <td>64</td>
            <td>风积分兑换消费余额</td>
            <td>交易类型</td>
        </tr>
        <tr>
            <td>createTime</td>
            <td>String</td>
            <td>是</td>
            <td>19</td>
            <td>2018-01-23 14:47:01</td>
            <td>时间(yyyy-MM-dd HH:mm:ss)</td>
        </tr>
        </tbody>
    </table>
    <h3 class="titleH3">响应示例</h3>
    <div class="code">
			<pre class="pre">
				<code>
            {
              "success": true,
              "code": null,
              "msg": "成功",
              "data": {
                "serialNumber": "5a61e0c177fb5c75385e4319",
                "amount": 0.9,
                "balance": 354.4,
                "dealType": "风积分兑换消费余额",
                "createTime": "2018-01-19 20:12:50"
              }
            }
				</code>
				</pre>
    </div>

    <h3 class="titleH3">异常示例</h3>
    <div class="code">
			<pre class="pre">
				<code>
	{
		"success": false
		"msg": "xx异常"
	}
				</code>
				</pre>
    </div>
    <!-- 消费余额兑出到商城余额 -->
    <h1 class="bigTitle" id="account-balance-exchange" style="font-size: 20px;">消费余额兑出到商城余额</h1>
    <p class="api-p">说明：该接口提供将消费余额兑出到商城余额。</p>
    <table>
        <tbody>
        <tr>
            <th>环境</th>
            <th>HTTP请求地址</th>
        </tr>
        <tr>
            <td>测试环境</td>
            <td>POST http://test.jf.yunfenghui.com/reward-api/api/member/account/exchange.do</td>
        </tr>
        <tr>
            <td>正式环境</td>
            <td>POST http://jf.api.yunfenghui.com/api/member/account/exchange.do</td>
        </tr>
        </tbody>
    </table>
    <h3 class="titleH3">请求参数</h3>
    <table>
        <tbody>
        <tr>
            <th style="width: 15%">参数</th>
            <th style="width: 10%">类型</th>
            <th style="width: 10%">是否必填</th>
            <th style="width: 10%">最大长度</th>
            <th style="width: 15%">示例值</th>
            <th>描述</th>
        </tr>
        <tr>
            <td>memberId</td>
            <td>Long</td>
            <td>是</td>
            <td>Long类型的最大值</td>
            <td>10010</td>
            <td>需要兑出消费余额的会员id</td>
        </tr>
        <tr>
            <td>amount</td>
            <td>Decimal</td>
            <td>是</td>
            <td>decimal(18,2)</td>
            <td>1001</td>
            <td>需要兑出的消费余额(最小值需参考消费循环系统配置参数)，该参数会忽略小数部分</td>
        </tr>
        <tr>
            <td>securityPassword</td>
            <td>String</td>
            <td>是</td>
            <td>-</td>
            <td>888888</td>
            <td>安全密码（商城支付密码）</td>
        </tr>
        </tbody>
    </table>
    <h3 class="titleH3">响应参数</h3>
    <table>
        <tbody>
        <tr>
            <th style="width: 15%">参数</th>
            <th style="width: 10%">类型</th>
            <th style="width: 10%">是否必填</th>
            <th style="width: 10%">最大长度</th>
            <th style="width: 15%">示例值</th>
            <th>描述</th>
        </tr>
        <tr>
            <td colspan="6">无</td>
        </tr>
        </tbody>
    </table>
    <h3 class="titleH3">响应示例</h3>
    <div class="code">
			<pre class="pre">
				<code>
            {
              "success": true,
              "msg": "成功"
            }
				</code>
				</pre>
    </div>

    <h3 class="titleH3">异常示例</h3>
    <div class="code">
			<pre class="pre">
				<code>
	{
		"success": false
		"msg": "xx异常"
	}
				</code>
				</pre>
    </div>
    <!-- 消费余额支付 -->
    <h1 class="bigTitle" id="account-balance-pay" style="font-size: 20px;">消费余额支付</h1>
    <p class="api-p">说明：该接口提供将消费余额在商城支付。</p>
    <table>
        <tbody>
        <tr>
            <th>环境</th>
            <th>HTTP请求地址</th>
        </tr>
        <tr>
            <td>测试环境</td>
            <td>POST http://test.jf.yunfenghui.com/reward-api/api/member/account/pay.do</td>
        </tr>
        <tr>
            <td>正式环境</td>
            <td>POST http://jf.api.yunfenghui.com/api/member/account/pay.do</td>
        </tr>
        </tbody>
    </table>
    <h3 class="titleH3">请求参数</h3>
    <table>
        <tbody>
        <tr>
            <th style="width: 15%">参数</th>
            <th style="width: 10%">类型</th>
            <th style="width: 10%">是否必填</th>
            <th style="width: 10%">最大长度</th>
            <th style="width: 15%">示例值</th>
            <th>描述</th>
        </tr>
        <tr>
            <td>memberId</td>
            <td>Long</td>
            <td>是</td>
            <td>Long类型的最大值</td>
            <td>10010</td>
            <td>需要支付的会员id</td>
        </tr>
        <tr>
            <td>payAmount</td>
            <td>Decimal</td>
            <td>是</td>
            <td>decimal(18,2)</td>
            <td>10.1</td>
            <td>支付金额</td>
        </tr>
        <tr>
            <td>outerTradeNo</td>
            <td>String</td>
            <td>是</td>
            <td>64</td>
            <td>200a240dfb97446f8e905c16f4194ff9</td>
            <td>商户交易号，需要在商户侧唯一</td>
        </tr>
		<tr>
            <td>securityPassword</td>
            <td>String</td>
            <td>是</td>
            <td>-</td>
            <td>888888</td>
            <td>安全密码（商城支付密码）</td>
        </tr>
        <tr>
            <td>attach</td>
            <td>String</td>
            <td>否</td>
            <td>64</td>
            <td>购买商品</td>
            <td>附加信息</td>
        </tr>
        <tr>
            <td>notifyUrl</td>
            <td>String</td>
            <td>否</td>
            <td>256</td>
            <td>http://www.yunfenghui.com/xxx</td>
            <td>消费循环系统通知接口调用方支付结果的接口地址</td>
        </tr>
        <tr>
            <td>remark</td>
            <td>String</td>
            <td>否</td>
            <td>64</td>
            <td>消费</td>
            <td>备注</td>
        </tr>
        </tbody>
    </table>
    <h3 class="titleH3">响应参数</h3>
    <table>
        <tbody>
        <tr>
            <th style="width: 15%">参数</th>
            <th style="width: 10%">类型</th>
            <th style="width: 10%">是否必填</th>
            <th style="width: 10%">最大长度</th>
            <th style="width: 15%">示例值</th>
            <th>描述</th>
        </tr>
        <tr>
            <td>outerTradeNo</td>
            <td>String</td>
            <td>是</td>
            <td>64</td>
            <td>0cc91db108904e969eaf0adfe474b482</td>
            <td>商户交易号</td>
        </tr>
        <tr>
            <td>tradeNo</td>
            <td>String</td>
            <td>是</td>
            <td>64</td>
            <td>5a94c40277fb639ae84c8221</td>
            <td>消费循环系统交易号</td>
        </tr>
        <tr>
            <td>memberId</td>
            <td>Long</td>
            <td>是</td>
            <td>Long类型的最大值</td>
            <td>10010</td>
            <td>会员ID</td>
        </tr>
        <tr>
            <td>payAmount</td>
            <td>Decimal</td>
            <td>是</td>
            <td>decimal(18,2)</td>
            <td>10.1</td>
            <td>支付金额</td>
        </tr>
        <tr>
            <td>attach</td>
            <td>String</td>
            <td>是</td>
            <td>64</td>
            <td>日用品</td>
            <td>附加信息</td>
        </tr>
        <tr>
            <td>remark</td>
            <td>String</td>
            <td>是</td>
            <td>64</td>
            <td>购物消费</td>
            <td>备注</td>
        </tr>
        </tbody>
    </table>
    <h3 class="titleH3">响应示例</h3>
    <div class="code">
			<pre class="pre">
				<code>
            {
              "success": true,
              "code": null,
              "msg": "成功",
              "data": {
                "tradeNo": "5a967cee77fbbf3354a9bc65",
                "memberId": 169424,
                "payAmount": 18,
                "outerTradeNo": "aaad305e1c6d11e88a187cd30ac30e98",
                "attach": "日用品",
                "remark": "购物消费"
              }
            }
				</code>
				</pre>
    </div>

    <h3 class="titleH3">异常示例</h3>
    <div class="code">
			<pre class="pre">
				<code>
        {
          "success": false,
          "code": "5303",
          "msg": "账户余额不足",
          "data": null
        }

        此接口可能返回的code:
        9101:缺少参数
        9104:无效的会员id
        9105:签名错误
        9107:无效的商户交易号
        9108:无效的金额
        5303:账户余额不足
        5507:重复的支付订单
        99003:支付密码已被锁定，请xx分钟后重试
        99004:支付密码错误
        99999:系统异常
				</code>
				</pre>
    </div>
    <!-- 查询消费余额支付记录 -->
    <h1 class="bigTitle" id="account-balance-pay-record" style="font-size: 20px;">查询消费余额支付记录</h1>
    <p class="api-p">说明：该接口提供查询消费余额支付记录。</p>
    <table>
        <tbody>
        <tr>
            <th>环境</th>
            <th>HTTP请求地址</th>
        </tr>
        <tr>
            <td>测试环境</td>
            <td>POST http://test.jf.yunfenghui.com/reward-api/api/member/account/payRecord.do</td>
        </tr>
        <tr>
            <td>正式环境</td>
            <td>POST http://jf.api.yunfenghui.com/api/member/account/payRecord.do</td>
        </tr>
        </tbody>
    </table>
    <h3 class="titleH3">请求参数</h3>
    <table>
        <tbody>
        <tr>
            <th style="width: 15%">参数</th>
            <th style="width: 10%">类型</th>
            <th style="width: 10%">是否必填</th>
            <th style="width: 10%">最大长度</th>
            <th style="width: 15%">示例值</th>
            <th>描述</th>
        </tr>
        <tr>
            <td>outerTradeNo</td>
            <td>String</td>
            <td>特殊可选</td>
            <td>64</td>
            <td>200a240dfb97446f8e905c16f4194ff9</td>
            <td>支付时传入的商户交易号。和tradeNo不能同时为空。如果和tradeNo同时存在优先取outerTradeNo</td>
        </tr>
        <tr>
            <td>tradeNo</td>
            <td>String</td>
            <td>特殊可选</td>
            <td>64</td>
            <td>5a33a9ad6e65c882771f1ede</td>
            <td>消费循环系统交易号。和outerTradeNo不能同时为空。</td>
        </tr>
        </tbody>
    </table>
    <h3 class="titleH3">响应参数</h3>
    <table>
        <tbody>
        <tr>
            <th style="width: 15%">参数</th>
            <th style="width: 10%">类型</th>
            <th style="width: 10%">是否必填</th>
            <th style="width: 10%">最大长度</th>
            <th style="width: 15%">示例值</th>
            <th>描述</th>
        </tr>
        <tr>
            <td>outerTradeNo</td>
            <td>String</td>
            <td>是</td>
            <td>64</td>
            <td>0cc91db108904e969eaf0adfe474b482</td>
            <td>商户交易号</td>
        </tr>
        <tr>
            <td>tradeNo</td>
            <td>String</td>
            <td>是</td>
            <td>64</td>
            <td>5a94c40277fb639ae84c8221</td>
            <td>消费循环系统交易号</td>
        </tr>
        <tr>
            <td>memberId</td>
            <td>Long</td>
            <td>是</td>
            <td>Long类型的最大值</td>
            <td>10010</td>
            <td>会员ID</td>
        </tr>
        <tr>
            <td>payAmount</td>
            <td>Decimal</td>
            <td>是</td>
            <td>decimal(18,2)</td>
            <td>10.1</td>
            <td>支付金额</td>
        </tr>
        <tr>
            <td>attach</td>
            <td>String</td>
            <td>是</td>
            <td>64</td>
            <td>日用品</td>
            <td>附加信息</td>
        </tr>
        <tr>
            <td>remark</td>
            <td>String</td>
            <td>是</td>
            <td>64</td>
            <td>购物消费</td>
            <td>备注</td>
        </tr>
        </tbody>
    </table>
    <h3 class="titleH3">响应示例</h3>
    <div class="code">
			<pre class="pre">
				<code>
            {
              "success": true,
              "code": null,
              "msg": "成功",
              "data": {
                "tradeNo": "5a967cee77fbbf3354a9bc65",
                "memberId": 169424,
                "payAmount": 18,
                "outerTradeNo": "aaad305e1c6d11e88a187cd30ac30e98",
                "attach": "日用品",
                "remark": "购物消费"
              }
            }
				</code>
				</pre>
    </div>

    <h3 class="titleH3">异常示例</h3>
    <div class="code">
			<pre class="pre">
				<code>
            {
              "success": false,
              "code": "5508",
              "msg": "支付订单不存在",
              "data": null
            }

            此接口可能返回的code:
            9101:缺少参数
            5508:支付订单不存在
            99999:系统异常
				</code>
				</pre>
    </div>
    <!-- 消费余额支付结果异步通知 -->
    <h1 class="bigTitle" id="account-balance-pay-notify" style="font-size: 20px;">消费余额支付结果异步通知</h1>
    <p class="api-p">说明：该接口需由商户提供，消费循环系统处理完支付订单后调用该接口通知商户支付订单结果</p>
    <table>
        <tbody>
        <tr>
            <th>环境</th>
            <th>HTTP请求地址</th>
        </tr>
        <tr>
            <td>测试环境</td>
            <td>POST 商户接收消费循环系统通知支付订单结果的测试环境url</td>
        </tr>
        <tr>
            <td>正式环境</td>
            <td>POST 商户接收消费循环系统通知支付订单结果的正式环境url</td>
        </tr>
        </tbody>
    </table>
    <h3 class="titleH3">请求参数</h3>
    <table>
        <tbody>
        <tr>
            <th style="width: 15%">参数</th>
            <th style="width: 10%">类型</th>
            <th style="width: 10%">是否必填</th>
            <th style="width: 10%">最大长度</th>
            <th style="width: 15%">示例值</th>
            <th>描述</th>
        </tr>
        <tr>
            <td>outerTradeNo</td>
            <td>String</td>
            <td>是</td>
            <td>64</td>
            <td>0cc91db108904e969eaf0adfe474b482</td>
            <td>商户交易号</td>
        </tr>
        <tr>
            <td>tradeNo</td>
            <td>String</td>
            <td>是</td>
            <td>64</td>
            <td>5a94c40277fb639ae84c8221</td>
            <td>消费循环系统交易号</td>
        </tr>
        <tr>
            <td>memberId</td>
            <td>Long</td>
            <td>是</td>
            <td>Long类型的最大值</td>
            <td>10010</td>
            <td>会员ID</td>
        </tr>
        <tr>
            <td>payAmount</td>
            <td>Decimal</td>
            <td>是</td>
            <td>decimal(18,2)</td>
            <td>10.1</td>
            <td>支付金额</td>
        </tr>
        <tr>
            <td>attach</td>
            <td>String</td>
            <td>是</td>
            <td>64</td>
            <td>日用品</td>
            <td>附加信息</td>
        </tr>
        <tr>
            <td>remark</td>
            <td>String</td>
            <td>是</td>
            <td>64</td>
            <td>购物消费</td>
            <td>备注</td>
        </tr>
        <tr>
            <td>sign</td>
            <td>String</td>
            <td>是</td>
            <td>344</td>
            <td>ERITJKEIJKJHKKKKKKKHJEREEEEEEEEEEE</td>
            <td>签名，验证签名字符串时需要排除空值参数</td>
        </tr>
        </tbody>
    </table>
    <h3 class="titleH3">响应参数</h3>
    <table>
        <tbody>
        <tr>
            <th style="width: 15%">参数</th>
            <th style="width: 10%">类型</th>
            <th style="width: 10%">是否必填</th>
            <th style="width: 10%">最大长度</th>
            <th style="width: 15%">示例值</th>
            <th>描述</th>
        </tr>
        <tr>
            <td colspan="10">-</td>
        </tr>
        </tbody>
    </table>
    <h3 class="titleH3">响应示例</h3>
    <div class="code">
			<pre class="pre">
				<code>
            success

            返回值为字符串，success为成功，其他任意字符串为失败
				</code>
				</pre>
    </div>
    <!-- 消费余额退款 -->
    <h1 class="bigTitle" id="account-balance-refund" style="font-size: 20px;">消费余额退款</h1>
    <p class="api-p">说明：该接口提供对消费余额支付订单进行退款。</p>
    <table>
        <tbody>
        <tr>
            <th>环境</th>
            <th>HTTP请求地址</th>
        </tr>
        <tr>
            <td>测试环境</td>
            <td>POST http://test.jf.yunfenghui.com/reward-api/api/member/account/refund.do</td>
        </tr>
        <tr>
            <td>正式环境</td>
            <td>POST http://jf.api.yunfenghui.com/api/member/account/refund.do</td>
        </tr>
        </tbody>
    </table>
    <h3 class="titleH3">请求参数</h3>
    <table>
        <tbody>
        <tr>
            <th style="width: 15%">参数</th>
            <th style="width: 10%">类型</th>
            <th style="width: 10%">是否必填</th>
            <th style="width: 10%">最大长度</th>
            <th style="width: 15%">示例值</th>
            <th>描述</th>
        </tr>
        <tr>
            <td>payTradeNo</td>
            <td>String</td>
            <td>特殊可选</td>
            <td>64</td>
            <td>200a240dfb97446f8e905c16f4194ff9</td>
            <td>消费循环系统支付交易号。和outerTradeNo不能同时为空。</td>
        </tr>
        <tr>
            <td>outerTradeNo</td>
            <td>String</td>
            <td>特殊可选</td>
            <td>64</td>
            <td>200a240dfb97446f8e905c16f4194ff9</td>
            <td>支付时传入的商户交易号。和payTradeNo不能同时为空。如果和payTradeNo同时存在优先取outerTradeNo</td>
        </tr>
        <tr>
            <td>outerRefundNo</td>
            <td>String</td>
            <td>是</td>
            <td>64</td>
            <td>5a33a9ad6e65c882771f1ede</td>
            <td>商户退款交易号</td>
        </tr>
        <tr>
            <td>refundAmount</td>
            <td>Decimal</td>
            <td>是</td>
            <td>decimal(18,2)</td>
            <td>10.1</td>
            <td>退款金额，不能大于支付金额</td>
        </tr>
        <tr>
            <td>remark</td>
            <td>String</td>
            <td>否</td>
            <td>64</td>
            <td>买家退货</td>
            <td>备注</td>
        </tr>
        </tbody>
    </table>
    <h3 class="titleH3">响应参数</h3>
    <table>
        <tbody>
        <tr>
            <th style="width: 15%">参数</th>
            <th style="width: 10%">类型</th>
            <th style="width: 10%">是否必填</th>
            <th style="width: 10%">最大长度</th>
            <th style="width: 15%">示例值</th>
            <th>描述</th>
        </tr>
        <tr>
            <td>payTradeNo</td>
            <td>String</td>
            <td>是</td>
            <td>64</td>
            <td>0cc91db108904e969eaf0adfe474b482</td>
            <td>消费循环系统支付交易号</td>
        </tr>
        <tr>
            <td>outerTradeNo</td>
            <td>String</td>
            <td>是</td>
            <td>64</td>
            <td>5a94c40277fb639ae84c8221</td>
            <td>商户支付交易号</td>
        </tr>
        <tr>
            <td>refundNo</td>
            <td>String</td>
            <td>是</td>
            <td>64</td>
            <td>5a94f15e77fbcfe66195cae1</td>
            <td>消费循环系统退款交易号</td>
        </tr>
        <tr>
            <td>outerRefundNo</td>
            <td>String</td>
            <td>是</td>
            <td>64</td>
            <td>20fe446d1b8111e88a187cd30ac30e98</td>
            <td>商户退款交易号</td>
        </tr>
        <tr>
            <td>refundAmount</td>
            <td>Decimal</td>
            <td>是</td>
            <td>decimal(18,2)</td>
            <td>10.1</td>
            <td>退款金额</td>
        </tr>
        <tr>
            <td>payAmount</td>
            <td>Decimal</td>
            <td>是</td>
            <td>decimal(18,2)</td>
            <td>10.1</td>
            <td>支付金额</td>
        </tr>
        <tr>
            <td>remark</td>
            <td>String</td>
            <td>是</td>
            <td>64</td>
            <td>退货</td>
            <td>备注</td>
        </tr>
        </tbody>
    </table>
    <h3 class="titleH3">响应示例</h3>
    <div class="code">
			<pre class="pre">
				<code>
            {
              "success": true,
              "code": null,
              "msg": "成功",
              "data": {
                "payTradeNo": "5a967cee77fbbf3354a9bc65",
                "outerTradeNo": "aaad305e1c6d11e88a187cd30ac30e98",
                "refundNo": "5a967e0977fbbf3354a9bc67",
                "outerRefundNo": "54209a4c1c6e11e88a187cd30ac30e98",
                "refundAmount": 9,
                "payAmount": 18,
                "remark": "退货"
              }
            }
				</code>
				</pre>
    </div>

    <h3 class="titleH3">异常示例</h3>
    <div class="code">
			<pre class="pre">
				<code>
            {
              "success": false,
              "code": "5509",
              "msg": "退款金额超出原支付订单金额",
              "data": null
            }

            此接口可能返回的code:
            9101:缺少参数
            9108:无效的金额
            5508:支付订单不存在
            5509:退款金额超出原支付订单金额
            5510:重复的退款交易
            99999:系统异常
				</code>
				</pre>
    </div>
    <!-- 查询消费余额退款记录 -->
    <h1 class="bigTitle" id="account-balance-refund-record" style="font-size: 20px;">查询消费余额退款记录</h1>
    <p class="api-p">说明：该接口提供将查询消费余额退款记录。</p>
    <table>
        <tbody>
        <tr>
            <th>环境</th>
            <th>HTTP请求地址</th>
        </tr>
        <tr>
            <td>测试环境</td>
            <td>POST http://test.jf.yunfenghui.com/reward-api/api/member/account/refundRecord.do</td>
        </tr>
        <tr>
            <td>正式环境</td>
            <td>POST http://jf.api.yunfenghui.com/api/member/account/refundRecord.do</td>
        </tr>
        </tbody>
    </table>
    <h3 class="titleH3">请求参数</h3>
    <table>
        <tbody>
        <tr>
            <th style="width: 15%">参数</th>
            <th style="width: 10%">类型</th>
            <th style="width: 10%">是否必填</th>
            <th style="width: 10%">最大长度</th>
            <th style="width: 15%">示例值</th>
            <th>描述</th>
        </tr>
        <tr>
            <td>refundNo</td>
            <td>String</td>
            <td>特殊可选</td>
            <td>64</td>
            <td>200a240dfb97446f8e905c16f4194ff9</td>
            <td>消费循环系统退款交易号，和outerRefundNo不能同时为空</td>
        </tr>
        <tr>
            <td>outerRefundNo</td>
            <td>String</td>
            <td>特殊可选</td>
            <td>64</td>
            <td>5a33a9ad6e65c882771f1ede</td>
            <td>商户退款交易号，和refundNo不能同时为空。如果和refundNo同时存在优先取outerRefundNo</td>
        </tr>
        </tbody>
    </table>
    <h3 class="titleH3">响应参数</h3>
    <table>
        <tbody>
        <tr>
            <th style="width: 15%">参数</th>
            <th style="width: 10%">类型</th>
            <th style="width: 10%">是否必填</th>
            <th style="width: 10%">最大长度</th>
            <th style="width: 15%">示例值</th>
            <th>描述</th>
        </tr>
        <tr>
            <td>payTradeNo</td>
            <td>String</td>
            <td>是</td>
            <td>64</td>
            <td>0cc91db108904e969eaf0adfe474b482</td>
            <td>消费循环系统支付交易号</td>
        </tr>
        <tr>
            <td>outerTradeNo</td>
            <td>String</td>
            <td>是</td>
            <td>64</td>
            <td>5a94c40277fb639ae84c8221</td>
            <td>商户支付交易号</td>
        </tr>
        <tr>
            <td>refundNo</td>
            <td>String</td>
            <td>是</td>
            <td>64</td>
            <td>5a94f15e77fbcfe66195cae1</td>
            <td>消费循环系统退款交易号</td>
        </tr>
        <tr>
            <td>outerRefundNo</td>
            <td>String</td>
            <td>是</td>
            <td>64</td>
            <td>20fe446d1b8111e88a187cd30ac30e98</td>
            <td>商户退款交易号</td>
        </tr>
        <tr>
            <td>refundAmount</td>
            <td>Decimal</td>
            <td>是</td>
            <td>decimal(18,2)</td>
            <td>10.1</td>
            <td>退款金额</td>
        </tr>
        <tr>
            <td>payAmount</td>
            <td>Decimal</td>
            <td>是</td>
            <td>decimal(18,2)</td>
            <td>10.1</td>
            <td>支付金额</td>
        </tr>
        <tr>
            <td>remark</td>
            <td>String</td>
            <td>是</td>
            <td>64</td>
            <td>退货</td>
            <td>备注</td>
        </tr>
        </tbody>
    </table>
    <h3 class="titleH3">响应示例</h3>
    <div class="code">
			<pre class="pre">
				<code>
            {
              "success": true,
              "code": null,
              "msg": "成功",
              "data": {
                "payTradeNo": "5a967cee77fbbf3354a9bc65",
                "outerTradeNo": "aaad305e1c6d11e88a187cd30ac30e98",
                "refundNo": "5a967e0977fbbf3354a9bc67",
                "outerRefundNo": "54209a4c1c6e11e88a187cd30ac30e98",
                "refundAmount": 9,
                "payAmount": 18,
                "remark": "退货"
              }
            }
				</code>
				</pre>
    </div>

    <h3 class="titleH3">异常示例</h3>
    <div class="code">
			<pre class="pre">
				<code>
                {
                  "success": false,
                  "code": "5511",
                  "msg": "退款记录不存在",
                  "data": null
                }

                此接口可能返回的code:
                9101:缺少参数
                5511:退款记录不存在
                99999:系统异常
				</code>
				</pre>
    </div>
    <!-- 获取银行列表 -->
    <h1 class="bigTitle" id="banks" style="font-size: 20px;">获取银行列表</h1>
    <p class="api-p">说明：获取银行列表。</p>
    <table>
        <tbody>
        <tr>
            <th>环境</th>
            <th>HTTP请求地址</th>
        </tr>
        <tr>
            <td>测试环境</td>
            <td>POST http://test.jf.yunfenghui.com/reward-api/api/banks.do</td>
        </tr>
        <tr>
            <td>正式环境</td>
            <td>POST http://jf.api.yunfenghui.com/api/banks.do</td>
        </tr>
        </tbody>
    </table>
    <h3 class="titleH3">请求参数</h3>
    <table>
        <tbody>
        <tr>
            <th style="width: 15%">参数</th>
            <th style="width: 10%">类型</th>
            <th style="width: 10%">是否必填</th>
            <th style="width: 10%">最大长度</th>
            <th style="width: 15%">示例值</th>
            <th>描述</th>
        </tr>
        <tr>
            <td colspan="10">无参数</td>
        </tr>
        </tbody>
    </table>
    <h3 class="titleH3">响应参数</h3>
    <table>
        <tbody>
        <tr>
            <th style="width: 15%">参数</th>
            <th style="width: 10%">类型</th>
            <th style="width: 10%">是否必填</th>
            <th style="width: 10%">最大长度</th>
            <th style="width: 15%">示例值</th>
            <th>描述</th>
        </tr>
        <tr>
            <td>key</td>
            <td>Int</td>
            <td>是</td>
            <td>Int类型的最大值</td>
            <td>9</td>
            <td>银行ID</td>
        </tr>
        <tr>
            <td>value</td>
            <td>String</td>
            <td>是</td>
            <td>32</td>
            <td>中国银行</td>
            <td>银行名称</td>
        </tr>
        </tbody>
    </table>
    <h3 class="titleH3">响应示例</h3>
    <div class="code">
			<pre class="pre">
				<code>
            {
              "success": true,
              "code": null,
              "msg": "成功",
              "data": [
                {
                  "key": 1,
                  "value": "中国银行"
                },
                {
                  "key": 2,
                  "value": "建设银行"
                }
              ]
            }
				</code>
				</pre>
    </div>

    <h3 class="titleH3">异常示例</h3>
    <div class="code">
			<pre class="pre">
				<code>
        {
          "success": false,
          "code": "99999",
          "msg": "系统异常",
          "data": null
        }

        此接口可能返回的code:
        9105:签名错误
        99999:系统异常
				</code>
				</pre>
    </div>
    <!-- 会员预提现 -->
    <h1 class="bigTitle" id="member-bank-card" style="font-size: 20px;">会员预提现</h1>
    <p class="api-p">说明：会员预提现。</p>
    <table>
        <tbody>
        <tr>
            <th>环境</th>
            <th>HTTP请求地址</th>
        </tr>
        <tr>
            <td>测试环境</td>
            <td>POST http://test.jf.yunfenghui.com/reward-api/api/member/account/preCashOut.do</td>
        </tr>
        <tr>
            <td>正式环境</td>
            <td>POST http://jf.api.yunfenghui.com/api/member/account/preCashOut.do</td>
        </tr>
        </tbody>
    </table>
    <h3 class="titleH3">请求参数</h3>
    <table>
        <tbody>
        <tr>
            <th style="width: 15%">参数</th>
            <th style="width: 10%">类型</th>
            <th style="width: 10%">是否必填</th>
            <th style="width: 10%">最大长度</th>
            <th style="width: 15%">示例值</th>
            <th>描述</th>
        </tr>
        <tr>
            <td>memberId</td>
            <td>Long</td>
            <td>是</td>
            <td>Long类型的最大值</td>
            <td>10010</td>
            <td>需要提现的会员id</td>
        </tr>
        </tbody>
    </table>
    <h3 class="titleH3">响应参数</h3>
    <table>
        <tbody>
        <tr>
            <th style="width: 15%">参数</th>
            <th style="width: 10%">类型</th>
            <th style="width: 10%">是否必填</th>
            <th style="width: 10%">最大长度</th>
            <th style="width: 15%">示例值</th>
            <th>描述</th>
        </tr>
        <tr>
            <td>memberId</td>
            <td>Long</td>
            <td>是</td>
            <td>Long类型的最大值</td>
            <td>10010</td>
            <td>会员ID</td>
        </tr>
        <tr>
            <td>balance</td>
            <td>Decimal</td>
            <td>是</td>
            <td>decimal(18,2)</td>
            <td>100</td>
            <td>消费余额</td>
        </tr>
        <tr>
            <td>cashOutBalance</td>
            <td>Decimal</td>
            <td>是</td>
            <td>decimal(18,2)</td>
            <td>20</td>
            <td>可提现消费余额</td>
        </tr>
        <tr>
            <td>realName</td>
            <td>String</td>
            <td>否</td>
            <td>64</td>
            <td>苏梦枕</td>
            <td>会员实名</td>
        </tr>
        <tr>
            <td>latestCashOutBankId</td>
            <td>Int</td>
            <td>否</td>
            <td>Int最大值</td>
            <td>9</td>
            <td>最近使用的银行ID</td>
        </tr>
        <tr>
            <td>latestCashOutBankName</td>
            <td>String</td>
            <td>否</td>
            <td>64</td>
            <td>中国银行</td>
            <td>最近使用的银行名称</td>
        </tr>
        <tr>
            <td>latestCashOutBranchName</td>
            <td>String</td>
            <td>否</td>
            <td>32</td>
            <td>宝安支行</td>
            <td>最近使用的银行支行名称</td>
        </tr>
        <tr>
            <td>latestCashOutBankCardNo</td>
            <td>String</td>
            <td>否</td>
            <td>32</td>
            <td>63209800158096782</td>
            <td>最近使用的银行卡号</td>
        </tr>
        </tbody>
    </table>
    <h3 class="titleH3">响应示例</h3>
    <div class="code">
			<pre class="pre">
				<code>
            {
              "success": true,
              "code": null,
              "msg": "成功",
              "data": {
                "memberId": 169424,
                "balance": 1000,
                "realName": "苏梦枕",
                "latestCashOutBankId": 9,
                "latestCashOutBankName": "中国银行",
                "latestCashOutBranchName": "宝安支行",
                "latestCashOutBankCardNo": "63209800158096782"
              }
            }
				</code>
				</pre>
    </div>

    <h3 class="titleH3">异常示例</h3>
    <div class="code">
			<pre class="pre">
				<code>
        {
          "success": false,
          "code": "1301",
          "msg": "会员不存在",
          "data": null
        }

        此接口可能返回的code:
        9101:缺少参数
        9104:无效的会员id
        1301:会员不存在
		1709:未实名认证
        9105:签名错误
        99999:系统异常
				</code>
				</pre>
    </div>
    <!-- 会员消费余额提现 -->
    <h1 class="bigTitle" id="account-balance-cash-out" style="font-size: 20px;">会员消费余额提现</h1>
    <p class="api-p">说明：该接口提供将会员消费余额提现到银行卡。</p>
    <table>
        <tbody>
        <tr>
            <th>环境</th>
            <th>HTTP请求地址</th>
        </tr>
        <tr>
            <td>测试环境</td>
            <td>POST http://test.jf.yunfenghui.com/reward-api/api/member/account/cashOut.do</td>
        </tr>
        <tr>
            <td>正式环境</td>
            <td>POST http://jf.api.yunfenghui.com/api/member/account/cashOut.do</td>
        </tr>
        </tbody>
    </table>
    <h3 class="titleH3">请求参数</h3>
    <table>
        <tbody>
        <tr>
            <th style="width: 15%">参数</th>
            <th style="width: 10%">类型</th>
            <th style="width: 10%">是否必填</th>
            <th style="width: 10%">最大长度</th>
            <th style="width: 15%">示例值</th>
            <th>描述</th>
        </tr>
        <tr>
            <td>memberId</td>
            <td>Long</td>
            <td>是</td>
            <td>Long类型的最大值</td>
            <td>10010</td>
            <td>需要提现的会员id</td>
        </tr>
        <tr>
            <td>amount</td>
            <td>Decimal</td>
            <td>是</td>
            <td>decimal(18,2)</td>
            <td>100</td>
            <td>提现金额</td>
        </tr>
        <tr>
            <td>payee</td>
            <td>String</td>
            <td>是</td>
            <td>64</td>
            <td>张三</td>
            <td>收款人姓名</td>
        </tr>
        <tr>
            <td>bankId</td>
            <td>Int</td>
            <td>是</td>
            <td>Int最大值</td>
            <td>5</td>
            <td>收款银行ID</td>
        </tr>
        <tr>
            <td>branchName</td>
            <td>String</td>
            <td>否</td>
            <td>32</td>
            <td>宝安支行</td>
            <td>收款银行支行名称</td>
        </tr>
        <tr>
            <td>bankCardNo</td>
            <td>String</td>
            <td>是</td>
            <td>32</td>
            <td>6228480402564890018</td>
            <td>收款银行卡号</td>
        </tr>
        <tr>
            <td>securityPassword</td>
            <td>String</td>
            <td>是</td>
            <td>-</td>
            <td>888888</td>
            <td>安全密码（商城支付密码）</td>
        </tr>
        </tbody>
    </table>
    <h3 class="titleH3">响应参数</h3>
    <table>
        <tbody>
        <tr>
            <th style="width: 15%">参数</th>
            <th style="width: 10%">类型</th>
            <th style="width: 10%">是否必填</th>
            <th style="width: 10%">最大长度</th>
            <th style="width: 15%">示例值</th>
            <th>描述</th>
        </tr>
		<tr>
            <td>serialNumber</td>
            <td>String</td>
            <td>是</td>
            <td>64</td>
            <td>5aa74953fe9c2c8ebdb151d1</td>
            <td>提现记录流水号</td>
        </tr>
        <tr>
            <td>memberId</td>
            <td>Long</td>
            <td>是</td>
            <td>Long类型的最大值</td>
            <td>10010</td>
            <td>会员ID</td>
        </tr>
        <tr>
            <td>payee</td>
            <td>String</td>
            <td>是</td>
            <td>64</td>
            <td>张三</td>
            <td>收款人姓名</td>
        </tr>
        <tr>
            <td>amount</td>
            <td>Decimal</td>
            <td>是</td>
            <td>decimal(18,2)</td>
            <td>100</td>
            <td>提现金额</td>
        </tr>
        <tr>
            <td>fee</td>
            <td>Decimal</td>
            <td>是</td>
            <td>decimal(18,2)</td>
            <td>10</td>
            <td>扣除的手续费</td>
        </tr>
        <tr>
            <td>feeRatio</td>
            <td>Decimal</td>
            <td>是</td>
            <td>decimal(18,2)</td>
            <td>10</td>
            <td>手续费扣除比例</td>
        </tr>
        <tr>
            <td>increasedMoney</td>
            <td>Decimal</td>
            <td>是</td>
            <td>decimal(18,2)</td>
            <td>90</td>
            <td>实际到账金额</td>
        </tr>
        <tr>
            <td>increasedWhiteScores</td>
            <td>Decimal</td>
            <td>是</td>
            <td>decimal(18,2)</td>
            <td>1000</td>
            <td>奖励消费积分</td>
        </tr>
        </tbody>
    </table>
    <h3 class="titleH3">响应示例</h3>
    <div class="code">
			<pre class="pre">
				<code>
            {
              "success": true,
              "code": null,
              "msg": "成功",
              "data": {
		"serialNumber": "5aa74953fe9c2c8ebdb151d1",
                "memberId": 169424,
                "payee": "苏梦枕",
                "amount": 100,
                "fee": 10,
                "feeRatio": 10,
                "increasedMoney": 90,
                "increasedWhiteScores": 1000
              }
            }
				</code>
				</pre>
    </div>

    <h3 class="titleH3">异常示例</h3>
    <div class="code">
			<pre class="pre">
				<code>
        {
          "success": false,
          "code": "5303",
          "msg": "账户余额不足",
          "data": null
        }

        此接口可能返回的code:
        9101:缺少参数
        9104:无效的会员id
        9105:签名错误
        9108:无效的金额
        9116:无效的银行id
        9117:无效的银行卡号
	5305:提现金额必须为大于0的整数
	5301:最小提现金额为xx
	1301:会员不存在
	1307:错误的实名
	1709:未实名认证
        5303:账户余额不足
        99003:支付密码已被锁定，请xx分钟后重试
        99004:支付密码错误
        99999:系统异常
				</code>
				</pre>
    </div>
    <!-- 获取风积分兑出参数 -->
    <h1 class="bigTitle" id="exchange-parameters" style="font-size: 20px;">获取风积分兑出参数</h1>
    <p class="api-p">说明：该接口提供将获取风积分兑出参数。</p>
    <table>
        <tbody>
        <tr>
            <th>环境</th>
            <th>HTTP请求地址</th>
        </tr>
        <tr>
            <td>测试环境</td>
            <td>POST http://test.jf.yunfenghui.com/reward-api/api/member/redScore/exchangeParameters.do</td>
        </tr>
        <tr>
            <td>正式环境</td>
            <td>POST http://jf.api.yunfenghui.com/api/member/redScore/exchangeParameters.do</td>
        </tr>
        </tbody>
    </table>
    <h3 class="titleH3">请求参数</h3>
    <table>
        <tbody>
        <tr>
            <th style="width: 15%">参数</th>
            <th style="width: 10%">类型</th>
            <th style="width: 10%">是否必填</th>
            <th style="width: 10%">最大长度</th>
            <th style="width: 15%">示例值</th>
            <th>描述</th>
        </tr>
        <td colspan="6">无</td>
        </tbody>
    </table>
    <h3 class="titleH3">响应参数</h3>
    <table>
        <tbody>
        <tr>
            <th style="width: 15%">参数</th>
            <th style="width: 10%">类型</th>
            <th style="width: 10%">是否必填</th>
            <th style="width: 10%">最大长度</th>
            <th style="width: 15%">示例值</th>
            <th>描述</th>
        </tr>
        <tr>
            <td>minExchangeAmount</td>
            <td>Decimal</td>
            <td>是</td>
            <td>-</td>
            <td>100</td>
            <td>风积分最小兑换数量</td>
        </tr>
        <tr>
            <td>exchangeFeeRatio</td>
            <td>Decimal</td>
            <td>是</td>
            <td>-</td>
            <td>10</td>
            <td>风积分兑换税、费比例(百分之)</td>
        </tr>
        </tbody>
    </table>
    <h3 class="titleH3">响应示例</h3>
    <div class="code">
			<pre class="pre">
				<code>
            {
              "success": true,
              "code": null,
              "msg": "成功",
              "data": {
                "exchangeFeeRatio": 10,
                "minExchangeAmount": 100
              }
            }
				</code>
				</pre>
    </div>

    <h3 class="titleH3">异常示例</h3>
    <div class="code">
			<pre class="pre">
				<code>
	{
		"success": false
		"msg": "xx异常"
	}
				</code>
				</pre>
    </div>

    <h1 class="bigTitle" id="balance-exchange-parameters" style="font-size: 20px;">获取消费余额兑出参数</h1>
    <p class="api-p">说明：该接口提供将获取消费余额兑出参数。</p>
    <table>
        <tbody>
        <tr>
            <th>环境</th>
            <th>HTTP请求地址</th>
        </tr>
        <tr>
            <td>测试环境</td>
            <td>POST http://test.jf.yunfenghui.com/reward-api/api/member/account/exchangeParameters.do</td>
        </tr>
        <tr>
            <td>正式环境</td>
            <td>POST http://jf.api.yunfenghui.com/api/member/account/exchangeParameters.do</td>
        </tr>
        </tbody>
    </table>
    <h3 class="titleH3">请求参数</h3>
    <table>
        <tbody>
        <tr>
            <th style="width: 15%">参数</th>
            <th style="width: 10%">类型</th>
            <th style="width: 10%">是否必填</th>
            <th style="width: 10%">最大长度</th>
            <th style="width: 15%">示例值</th>
            <th>描述</th>
        </tr>
        <td colspan="6">无</td>
        </tbody>
    </table>
    <h3 class="titleH3">响应参数</h3>
    <table>
        <tbody>
        <tr>
            <th style="width: 15%">参数</th>
            <th style="width: 10%">类型</th>
            <th style="width: 10%">是否必填</th>
            <th style="width: 10%">最大长度</th>
            <th style="width: 15%">示例值</th>
            <th>描述</th>
        </tr>
        <tr>
            <td>minExchangeAmount</td>
            <td>Decimal</td>
            <td>是</td>
            <td>-</td>
            <td>10</td>
            <td>消费余额最小兑换金额</td>
        </tr>
        <tr>
            <td>exchangeFeeRatio</td>
            <td>Decimal</td>
            <td>是</td>
            <td>-</td>
            <td>10</td>
            <td>消费余额兑换税、费比例(百分之)</td>
        </tr>
        </tbody>
    </table>
    <h3 class="titleH3">响应示例</h3>
    <div class="code">
			<pre class="pre">
				<code>
            {
              "success": true,
              "code": null,
              "msg": "成功",
              "data": {
                "exchangeFeeRatio": 10,
                "minExchangeAmount": 10
              }
            }
				</code>
				</pre>
    </div>

    <h3 class="titleH3">异常示例</h3>
    <div class="code">
			<pre class="pre">
				<code>
	{
		"success": false
		"msg": "xx异常"
	}
				</code>
				</pre>
    </div>

    <!-- 创建运营中心交易返还消费积分订单 -->
    <!--<h1 class="bigTitle" id="agent-trade-order" style="font-size: 20px;">创建运营中心交易返还消费积分订单</h1>
    <p class="api-p">说明：该接口提供外部商户交易完成后运营中心发放消费积分</p>

    <table>
        <tbody>
        <tr>
            <th>环境</th>
            <th>HTTP请求地址</th>
        </tr>
        <tr>
            <td>测试环境</td>
            <td>POST http://test.jf.yunfenghui.com/reward-api/api/agent/trade.do</td>
        </tr>
        <tr>
            <td>正式环境</td>
            <td>POST http://jf.api.yunfenghui.com/api/agent/trade.do</td>
        </tr>
        </tbody>
    </table>
    <h3 class="titleH3">请求参数</h3>
    <table>
        <tbody>
        <tr>
            <th style="width: 15%">参数</th>
            <th style="width: 10%">类型</th>
            <th style="width: 10%">是否必填</th>
            <th style="width: 10%">最大长度</th>
            <th style="width: 15%">示例值</th>
            <th>描述</th>
        </tr>
        <tr>
            <td>memberId</td>
            <td>Long</td>
            <td>是</td>
            <td>Long类型的最大值</td>
            <td>1234</td>
            <td>会员id</td>
        </tr>
        <tr>
            <td>outerTradeNo</td>
            <td>String</td>
            <td>是</td>
            <td>64</td>
            <td>200a240dfb97446f8e905c16f4194ff9</td>
            <td>商户交易号，需要在商户侧唯一</td>
        </tr>
        <tr>
            <td>tradeAmount</td>
            <td>Decimal</td>
            <td>是</td>
            <td>99999.99</td>
            <td>12.25</td>
            <td>订单交易金额(元)，最多保留2位小数。大于 0 </td>
        </tr>
        <tr>
            <td>areaCode</td>
            <td>String</td>
            <td>是</td>
            <td>-</td>
            <td>440305000000</td>
            <td>运营中心区域编码</td>
        </tr>
        <tr>
            <td>remark</td>
            <td>String</td>
            <td>否</td>
            <td>64</td>
            <td>购买商品</td>
            <td>订单备注</td>
        </tr>
        </tbody>
    </table>
    <h3 class="titleH3">响应参数</h3>
    <table>
        <tbody>
        <tr>
            <th style="width: 15%">参数</th>
            <th style="width: 10%">类型</th>
            <th style="width: 10%">是否必填</th>
            <th style="width: 10%">最大长度</th>
            <th style="width: 15%">示例值</th>
            <th>描述</th>
        </tr>
        <tr>
            <td>outerTradeNo</td>
            <td>String</td>
            <td>是</td>
            <td>64</td>
            <td>0cc91db108904e969eaf0adfe474b482</td>
            <td>商户交易号</td>
        </tr>
        <tr>
            <td>tradeNo</td>
            <td>String</td>
            <td>是</td>
            <td>64</td>
            <td>5a33a9ad6e65c882771f1ede</td>
            <td>消费循环系统交易号</td>
        </tr>
        </tbody>
    </table>
    <h3 class="titleH3">响应示例</h3>
    <div class="code">
			<pre class="pre">
				<code>
	{
		"success": true,
		"msg": "成功",
		"data": {
			"outerTradeNo": "0cc91db108904e969eaf0adfe474b482",
			"tradeNo": "5a33a9ad6e65c882771f1ede"
		}
	}
				</code>
				</pre>
    </div>

    <h3 class="titleH3">异常示例</h3>
    <div class="code">
			<pre class="pre">
				<code>
	{
		"success": false
		"code" : "5502",
		"msg": "商户预付消费积分账户余额不足"
	}

	此接口可能返回的code:
	9101:缺少参数
	9105:签名错误
	9107:无效的商户交易号
	9108:无效的金额
	9114:备注过长
	99999:系统异常
				</code>
				</pre>
    </div>-->

</div>
</body>
</html>
